summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/canvas/evas_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_main.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_main.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_main.c b/legacy/evas/src/lib/canvas/evas_main.c
index 2d2065b..8e07c54 100644
--- a/legacy/evas/src/lib/canvas/evas_main.c
+++ b/legacy/evas/src/lib/canvas/evas_main.c
@@ -158,12 +158,10 @@ evas_free(Evas *e)
158 } 158 }
159 } 159 }
160 } 160 }
161 while (e->layers) 161 EINA_INLIST_FOREACH(e->layers, lay)
162 { 162 evas_layer_free(lay);
163 lay = e->layers; 163 evas_layer_clean(e);
164 evas_layer_del(lay); 164
165 evas_layer_free(lay);
166 }
167 e->walking_list--; 165 e->walking_list--;
168 166
169 evas_font_path_clear(e); 167 evas_font_path_clear(e);