kconfig/symbol.c: use correct pointer type argument for sizeof
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 8 Nov 2017 21:09:59 +0000 (22:09 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 26 Jan 2018 20:04:18 +0000 (21:04 +0100)
commit8414004c51e6158812d77f503252770f2027466a
tree0423b7f22f73acf31a57db69e3946d1f5d25785e
parent3cefddbaaca8d33cb74d4cf72c98b997cb2e08d9
kconfig/symbol.c: use correct pointer type argument for sizeof

sym_arr is of type struct symbol **.
So in malloc we need sizeof(struct symbol *).

The problem was indicated by coccinelle.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/symbol.c