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 <cedric@osg.samsung.com>
This commit is contained in:
subhransu mohanty 2018-02-14 11:31:41 -08:00 committed by Cedric Bail
parent 1d48a5b0c8
commit 44c23ddec3
1 changed files with 1 additions and 0 deletions

View File

@ -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));
}