Re: [PATCH] kconfig: Don't leak choice names during parsing

From: Masahiro Yamada
Date: Sat Feb 24 2018 - 10:13:19 EST


2018-02-20 20:40 GMT+09:00 Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>:
> 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 5a1aa8a1aff6 ("kconfig: add named choice group").
>
> There is room for argument if this is useful in practice, but anyway
> I am fixing the memory leak.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>


Applied to linux-kbuild/kconfig.




--
Best Regards
Masahiro Yamada