menuconfig: Fix memory leak introduced by jump keys feature
authorBenjamin Poirier <bpoirier@suse.de>
Mon, 15 Apr 2013 14:13:50 +0000 (10:13 -0400)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 16 Apr 2013 19:59:28 +0000 (21:59 +0200)
commitedb749f4390b3c1604233dc7c4fb0361f472e712
tree2fc01bf1af715d291ad031b30e82e3cfac1e7f47
parenta45c7dfb942b6c198d5cd283f8dcee145241a017
menuconfig: Fix memory leak introduced by jump keys feature

Fixes the memory leak of struct jump_key allocated in get_prompt_str()

Signed-off-by: Benjamin Poirier <bpoirier@suse.de>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: stable@vger.kernel.org
scripts/kconfig/list.h
scripts/kconfig/mconf.c