summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubhransu Mohanty <sub.mohanty@samsung.com>2015-08-19 09:00:51 +0900
committerCedric BAIL <cedric@osg.samsung.com>2015-08-19 14:46:26 +0200
commitad3ae08b82d3b53467f44261c61957fefc24f9d7 (patch)
tree2794517fb35ffad06aca86d3eebbda5dec9a0661
parenta3db22659f6d10769849a5d8ea9f7cfb9a8eb377 (diff)
evas: delete the ector_renderer when evas_vg_node gets deleted.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/evas/canvas/evas_vg_node.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_node.c b/src/lib/evas/canvas/evas_vg_node.c
index ad0817efa6..775c6886e5 100644
--- a/src/lib/evas/canvas/evas_vg_node.c
+++ b/src/lib/evas/canvas/evas_vg_node.c
@@ -266,6 +266,13 @@ _efl_vg_base_eo_base_destructor(Eo *obj, Efl_VG_Base_Data *pd)
266 free(pd->m); 266 free(pd->m);
267 pd->m = NULL; 267 pd->m = NULL;
268 } 268 }
269
270 if (pd->renderer)
271 {
272 eo_del(pd->renderer);
273 pd->renderer = NULL;
274 }
275
269 eo_do_super(obj, MY_CLASS, eo_destructor()); 276 eo_do_super(obj, MY_CLASS, eo_destructor());
270} 277}
271 278