+1
−0
Loading
stable inclusion from stable-v6.6.76 commit 29f5ee6c9774eccd75583d40b3c9c12c72ef54fc category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBW08Q Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=29f5ee6c9774eccd75583d40b3c9c12c72ef54fc -------------------------------- [ Upstream commit a409fc1463d664002ea9bf700ae4674df03de111 ] The string allocated in sym_warn_unmet_dep() is never freed, leading to a memory leak when an unmet dependency is detected. Fixes: f8f69dc0 ("kconfig: make unmet dependency warnings readable") Signed-off-by:Masahiro Yamada <masahiroy@kernel.org> Reviewed-by:
Petr Vorel <pvorel@suse.cz> Signed-off-by:
Sasha Levin <sashal@kernel.org> (cherry picked from commit 29f5ee6c9774eccd75583d40b3c9c12c72ef54fc) Signed-off-by:
Wentao Guan <guanwentao@uniontech.com>