summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-15 12:18:34 +0100
committerTom Hacohen <tom@stosb.com>2015-11-09 11:43:04 +0000
commit5661f96c052d665a7429b834326476ca7fd81e48 (patch)
tree173538f1fb2014e6877014bab7829244f680b9e6
parent09084220843a40c04bc633481ff483d7d4547675 (diff)
Eo callback call: Remove redundant refcounting.
We already get refcounting from eo_do, no need to have more refcounting here.
-rw-r--r--src/lib/eo/eo_base_class.c2
1 files changed, 0 insertions, 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,
673 673
674 ret = EINA_TRUE; 674 ret = EINA_TRUE;
675 675
676 _eo_ref(obj);
677 pd->walking_list++; 676 pd->walking_list++;
678 677
679 for (cb = pd->callbacks; cb; cb = cb->next) 678 for (cb = pd->callbacks; cb; cb = cb->next)
@@ -723,7 +722,6 @@ _eo_base_event_callback_call(Eo *obj_id, Eo_Base_Data *pd,
723end: 722end:
724 pd->walking_list--; 723 pd->walking_list--;
725 _eo_callbacks_clear(pd); 724 _eo_callbacks_clear(pd);
726 _eo_unref(obj);
727 725
728 return ret; 726 return ret;
729} 727}