]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kconfig: gconf: fix potential memory leak in renderer_edited()
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 24 Jun 2025 15:04:55 +0000 (00:04 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:26:02 +0000 (16:26 +0200)
commit234c09b2af68fe06be8ff41e32bdc85e6891e27a
treea79cc03680c58cecd642f368a0e7b79f7f44b79c
parent4ba63e06e4ac961dac01c2517d7a79e700604b7a
kconfig: gconf: fix potential memory leak in renderer_edited()

[ Upstream commit f72ed4c6a375e52a3f4b75615e4a89d29d8acea7 ]

If gtk_tree_model_get_iter() fails, gtk_tree_path_free() is not called.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
scripts/kconfig/gconf.c