Eo: Fixed some issues.

SVN revision: 70792
This commit is contained in:
Tom Hacohen 2012-05-06 12:03:11 +00:00
parent 7faf06dfe2
commit 8c5644d5f8
1 changed files with 3 additions and 1 deletions

View File

@ -1089,7 +1089,7 @@ eo_unref(Eo *obj)
{
WRN("obj->xrefs is not empty, possibly a bug, please report. - An error will be reported for each xref in the stack.");
Eina_Inlist *nitr = obj->xrefs->next;
free(EINA_INLIST_CONTAINER_GET(obj->xrefs, Eo_Kls_Itr_Node));
free(EINA_INLIST_CONTAINER_GET(obj->xrefs, Eo_Xref_Node));
obj->xrefs = nitr;
}
#endif
@ -1237,7 +1237,9 @@ eo_data_get(const Eo *obj, const Eo_Class *klass)
}
else
{
/* FIXME: Enable this to only work when called from the outside.
ERR("Tried getting data of class '%s', but it has none..", klass->desc->name);
*/
}
return NULL;