raster pushed a commit to branch master.

commit 21c2209de82a1c50a31e76bb3decc4ea4d4e9303
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Apr 8 20:08:19 2013 +0900

    clean up outputs list on evas free.
---
 src/lib/evas/canvas/evas_main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/evas/canvas/evas_main.c b/src/lib/evas/canvas/evas_main.c
index 1dc3abb..beebbb3 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);

-- 

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

Reply via email to