From ceee3af37cec4a8648434aa90da46a8369a3d177 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Mon, 11 Feb 2019 18:07:15 +0100 Subject: [PATCH] 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 --- src/lib/eo/eo_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eo/eo_private.h b/src/lib/eo/eo_private.h index 7c7ae9e..3b046bb 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 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)); -- 2.7.4