forked from enlightenment/efl
eolian: specialize tmp free for typedef (avoid double free issue)
@fix
This commit is contained in:
parent
ccbcf3db0b
commit
a74000a65c
|
@ -692,7 +692,10 @@ _temps_free(Eo_Lexer_Temps *tmp)
|
|||
eina_strbuf_free(buf);
|
||||
|
||||
EINA_LIST_FREE(tmp->type_defs, tp)
|
||||
database_type_del(tp);
|
||||
if (tp->type == EOLIAN_TYPE_ALIAS)
|
||||
database_typedef_del(tp);
|
||||
else
|
||||
database_type_del(tp);
|
||||
|
||||
EINA_LIST_FREE(tmp->strs, s)
|
||||
if (s) eina_stringshare_del(s);
|
||||
|
|
Loading…
Reference in New Issue