From 5661f96c052d665a7429b834326476ca7fd81e48 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 15 Oct 2015 12:18:34 +0100 Subject: [PATCH] Eo callback call: Remove redundant refcounting. We already get refcounting from eo_do, no need to have more refcounting here. --- src/lib/eo/eo_base_class.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c index 98809dd9d0..5391e65f3c 100644 --- a/src/lib/eo/eo_base_class.c +++ b/src/lib/eo/eo_base_class.c @@ -673,7 +673,6 @@ _eo_base_event_callback_call(Eo *obj_id, Eo_Base_Data *pd, ret = EINA_TRUE; - _eo_ref(obj); pd->walking_list++; for (cb = pd->callbacks; cb; cb = cb->next) @@ -723,7 +722,6 @@ _eo_base_event_callback_call(Eo *obj_id, Eo_Base_Data *pd, end: pd->walking_list--; _eo_callbacks_clear(pd); - _eo_unref(obj); return ret; }