[Tools/Parser] Fix Psuero-Element Constructor
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 9 Dec 2020 05:31:52 +0000 (14:31 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 15 Dec 2020 00:28:45 +0000 (09:28 +0900)
commitf58933ce3b4dba67d349ca0e03f1e3e5d2153370
tree1fd0216ffb0c83fa498991806cca7053c8c43ec4
parent87775a3a6169bf76ee744507558593b62c48098e
[Tools/Parser] Fix Psuero-Element Constructor

It should initialize all elements including glist properties.
Do so by using g_new0 instead of g_malloc.
Fixes #2929 .

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
tools/development/parser/grammar.y
tools/development/parser/types.c