cedric pushed a commit to branch master.

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

commit e73533ebbcbd98f426e477125166e938a911fc15
Author: Subhransu Mohanty <sub.moha...@samsung.com>
Date:   Thu Jun 23 10:15:41 2016 -0700

    canvas/vg: fix the reference issue in evas_vg objects.
    
    Reviewers: jpeg, cedric
    
    Reviewed By: cedric
    
    Subscribers: cedric, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D4079
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/evas/canvas/evas_vg_container.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_vg_container.c 
b/src/lib/evas/canvas/evas_vg_container.c
index fc11bec..3374a9b 100644
--- a/src/lib/evas/canvas/evas_vg_container.c
+++ b/src/lib/evas/canvas/evas_vg_container.c
@@ -171,7 +171,7 @@ _efl_vg_container_efl_vg_dup(Eo *obj,
      {
         // By setting parent, we automatically reference
         // this new object as a child of obj. Magic at work !
-        (void) eo_add_ref(eo_class_get(child), obj, efl_vg_dup(eo_self, 
child));
+        (void) eo_add(eo_class_get(child), obj, efl_vg_dup(eo_self, child));
      }
 }
 

-- 


Reply via email to