summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-04-08 20:08:19 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-04-08 20:10:06 +0900
commit21c2209de82a1c50a31e76bb3decc4ea4d4e9303 (patch)
tree55cdea5ee308c2f025086a95f08d295c208e6c4a
parent93dc78216c921d9bc07dc4ac99d291687f4f9679 (diff)
clean up outputs list on evas free.
-rw-r--r--src/lib/evas/canvas/evas_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_main.c b/src/lib/evas/canvas/evas_main.c
index 1dc3abbdb5..beebbb3926 100644
--- a/src/lib/evas/canvas/evas_main.c
+++ b/src/lib/evas/canvas/evas_main.c
@@ -190,6 +190,7 @@ _destructor(Eo *eo_e, void *_pd, va_list *list EINA_UNUSED)
190 Eina_Rectangle *r; 190 Eina_Rectangle *r;
191 Evas_Coord_Touch_Point *touch_point; 191 Evas_Coord_Touch_Point *touch_point;
192 Evas_Layer *lay; 192 Evas_Layer *lay;
193 Evas_Out *evo;
193 int i; 194 int i;
194 int del; 195 int del;
195 196
@@ -248,6 +249,8 @@ _destructor(Eo *eo_e, void *_pd, va_list *list EINA_UNUSED)
248 evas_event_callback_all_del(eo_e); 249 evas_event_callback_all_del(eo_e);
249 evas_event_callback_cleanup(eo_e); 250 evas_event_callback_cleanup(eo_e);
250 251
252 EINA_LIST_FREE(e->outputs, evo) evas_output_del(evo);
253
251 if (e->engine.func) 254 if (e->engine.func)
252 { 255 {
253 e->engine.func->context_free(e->engine.data.output, e->engine.data.context); 256 e->engine.func->context_free(e->engine.data.output, e->engine.data.context);