diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-04-08 20:08:19 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-04-08 20:10:06 +0900 |
commit | 21c2209de82a1c50a31e76bb3decc4ea4d4e9303 (patch) | |
tree | 55cdea5ee308c2f025086a95f08d295c208e6c4a | |
parent | 93dc78216c921d9bc07dc4ac99d291687f4f9679 (diff) | |
download | efl-21c2209de82a1c50a31e76bb3decc4ea4d4e9303.tar.gz |
clean up outputs list on evas free.
-rw-r--r-- | src/lib/evas/canvas/evas_main.c | 3 |
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) Eina_Rectangle *r; Evas_Coord_Touch_Point *touch_point; Evas_Layer *lay; + Evas_Out *evo; int i; int del; @@ -248,6 +249,8 @@ _destructor(Eo *eo_e, void *_pd, va_list *list EINA_UNUSED) evas_event_callback_all_del(eo_e); evas_event_callback_cleanup(eo_e); + EINA_LIST_FREE(e->outputs, evo) evas_output_del(evo); + if (e->engine.func) { e->engine.func->context_free(e->engine.data.output, e->engine.data.context); |