forked from enlightenment/efl
eo: fix typo
this while loop is actaully iterating obj->xref, therefore we should not take the pointer of data_xrefs. Differential Revision: https://phab.enlightenment.org/D7908
This commit is contained in:
parent
616381e9cf
commit
bbe0151670
|
@ -390,7 +390,7 @@ _efl_unref_internal(_Eo_Object *obj, const char *func_name, const char *file, in
|
|||
while (obj->xrefs)
|
||||
{
|
||||
Eina_Inlist *nitr = obj->xrefs->next;
|
||||
Eo_Xref_Node *xref = EINA_INLIST_CONTAINER_GET(obj->data_xrefs, Eo_Xref_Node);
|
||||
Eo_Xref_Node *xref = EINA_INLIST_CONTAINER_GET(obj->xrefs, Eo_Xref_Node);
|
||||
ERR("in %s:%d: func '%s' Object %p is still referenced by object %p. Origin: %s:%d",
|
||||
file, line, func_name, obj_id, xref->ref_obj, xref->file, xref->line);
|
||||
eina_freeq_ptr_main_add(xref, free, sizeof(*xref));
|
||||
|
|
Loading…
Reference in New Issue