eolian: fix double free

This commit is contained in:
Daniel Kolesa 2014-06-19 15:09:40 +01:00
parent 9c2fcf5d4e
commit ee053aa840
1 changed files with 1 additions and 0 deletions

View File

@ -1345,6 +1345,7 @@ eo_parser_database_fill(const char *filename)
EINA_LIST_FOREACH(ls->typedefs, k, type_def)
{
database_type_add(type_def->alias, type_def->type);
type_def->type = NULL;
}
eo_lexer_free(ls);