eolian: ouch... fix a major bug, *spanks self*

This commit is contained in:
q66 2014-07-19 13:00:44 +01:00
parent ad8daa2f84
commit 9f0bcdf707
1 changed files with 3 additions and 2 deletions

View File

@ -317,12 +317,13 @@ _db_fill_implement(Eolian_Class *cl, Eolian_Implement *impl)
ftype = EOLIAN_PROP_GET;
}
free(virtual_name);
Eolian_Function *foo_id = (Eolian_Function*)
eolian_class_function_find_by_name(cl,
func,
ftype);
free(virtual_name);
if (!foo_id)
{
ERR("Error - %s not known in class %s", impl_name + 8,