clean up outputs list on evas free.

This commit is contained in:
Carsten Haitzler 2013-04-08 20:08:19 +09:00
parent 93dc78216c
commit 21c2209de8
1 changed files with 3 additions and 0 deletions

View File

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