cedric pushed a commit to branch master.

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

commit 44c23ddec3f0997c2bcedce41d3cfcbf188a342f
Author: subhransu mohanty <sub.moha...@samsung.com>
Date:   Wed Feb 14 11:31:41 2018 -0800

    evas/vg: reset the path data in destructor.
    
    Summary: As the gfx_path mixin class destructor is not called hence 
explicit call of reset.
    
    Reviewers: jpeg, SanghyeonLee
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D5803
    
    Signed-off-by: Cedric Bail <ced...@osg.samsung.com>
---
 src/lib/evas/canvas/evas_vg_shape.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/evas/canvas/evas_vg_shape.c 
b/src/lib/evas/canvas/evas_vg_shape.c
index d6ec51cf97..be04ee3b05 100644
--- a/src/lib/evas/canvas/evas_vg_shape.c
+++ b/src/lib/evas/canvas/evas_vg_shape.c
@@ -139,6 +139,7 @@ _efl_vg_shape_efl_object_constructor(Eo *obj, 
Efl_VG_Shape_Data *pd)
 static void
 _efl_vg_shape_efl_object_destructor(Eo *obj, Efl_VG_Shape_Data *pd EINA_UNUSED)
 {
+   efl_gfx_path_reset(obj);
    efl_destructor(efl_super(obj, MY_CLASS));
 }
 

-- 


Reply via email to