summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo_private.h
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-11 18:07:15 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-12 11:20:21 +0100
commitbbe0151670c9da6522679bb344c2dda8fd25a533 (patch)
treebcd9b14431fcf8a5df35faad05a512299926d718 /src/lib/eo/eo_private.h
parent616381e9cfed41b83fef039b0e38c09b41fd3d7f (diff)
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
Diffstat (limited to '')
-rw-r--r--src/lib/eo/eo_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/eo_private.h b/src/lib/eo/eo_private.h
index 7c7ae9e4a8..3b046bb302 100644
--- a/src/lib/eo/eo_private.h
+++ b/src/lib/eo/eo_private.h
@@ -390,7 +390,7 @@ _efl_unref_internal(_Eo_Object *obj, const char *func_name, const char *file, in
390 while (obj->xrefs) 390 while (obj->xrefs)
391 { 391 {
392 Eina_Inlist *nitr = obj->xrefs->next; 392 Eina_Inlist *nitr = obj->xrefs->next;
393 Eo_Xref_Node *xref = EINA_INLIST_CONTAINER_GET(obj->data_xrefs, Eo_Xref_Node); 393 Eo_Xref_Node *xref = EINA_INLIST_CONTAINER_GET(obj->xrefs, Eo_Xref_Node);
394 ERR("in %s:%d: func '%s' Object %p is still referenced by object %p. Origin: %s:%d", 394 ERR("in %s:%d: func '%s' Object %p is still referenced by object %p. Origin: %s:%d",
395 file, line, func_name, obj_id, xref->ref_obj, xref->file, xref->line); 395 file, line, func_name, obj_id, xref->ref_obj, xref->file, xref->line);
396 eina_freeq_ptr_main_add(xref, free, sizeof(*xref)); 396 eina_freeq_ptr_main_add(xref, free, sizeof(*xref));