tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5661f96c052d665a7429b834326476ca7fd81e48

commit 5661f96c052d665a7429b834326476ca7fd81e48
Author: Tom Hacohen <t...@stosb.com>
Date:   Thu Oct 15 12:18:34 2015 +0100

    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 98809dd..5391e65 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;
 }

-- 


Reply via email to