From 321b4917912cf676c51f6bafdb324b141a23526c Mon Sep 17 00:00:00 2001 From: discomfitor Date: Fri, 15 Jun 2012 06:36:49 +0000 Subject: [PATCH] hey how about we stop breaking evas and edje with EVERY DAMN COMMIT??? git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@72162 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/canvas/evas_map.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/lib/canvas/evas_map.c b/src/lib/canvas/evas_map.c index 2b0591b..9c2d71a 100644 --- a/src/lib/canvas/evas_map.c +++ b/src/lib/canvas/evas_map.c @@ -171,16 +171,15 @@ _evas_map_free(Evas_Object *obj, Evas_Map *m) if (m->surface) obj->layer->evas->engine.func->image_map_surface_free (obj->layer->evas->engine.data.output, m->surface); + if (obj->spans) + { + // FIXME: destroy engine side spans + free(obj->spans); + obj->spans = NULL; + } } m->magic = 0; free(m); - - if (obj->spans) - { - // FIXME: destroy engine side spans - free(obj->spans); - obj->spans = NULL; - } } /****************************************************************************/ -- 2.7.4