git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@72162
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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;
- }
}
/****************************************************************************/