]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: Don't leak choice names during parsing
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 20 Feb 2018 11:40:29 +0000 (20:40 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 2 Mar 2018 00:20:55 +0000 (09:20 +0900)
commit7708e1c341a92d6f6c5c987059b84fbef98da205
treeae194f2149d33917adea2a335ca19cbcb093848b
parent2dbdd88eac658fd9eaa1c5a1973405b5d9d9996b
kconfig: Don't leak choice names during parsing

The named choice is not used in the kernel tree, but if it were used,
it would not be freed.

The intention of the named choice can be seen in the log of
commit a9b06a0aa23c ("kconfig: add named choice group").

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
scripts/kconfig/zconf.y