]> 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)
commit1cd952d7db5bc55a8a88806c690ab1f040729a4c
treeae194f2149d33917adea2a335ca19cbcb093848b
parent31eb647a048aa7c61333ed896564ae1071a427da
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