From: discomfitor Date: Fri, 15 Jun 2012 06:36:49 +0000 (+0000) Subject: hey how about we stop breaking evas and edje with EVERY DAMN COMMIT??? X-Git-Tag: accepted/2.0/20130306.225542~52^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=321b4917912cf676c51f6bafdb324b141a23526c;p=profile%2Fivi%2Fevas.git 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 --- 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; - } } /****************************************************************************/