summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_object_main.c')
-rw-r--r--src/lib/evas/canvas/evas_object_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_main.c b/src/lib/evas/canvas/evas_object_main.c
index 26959bf..71e0276 100644
--- a/src/lib/evas/canvas/evas_object_main.c
+++ b/src/lib/evas/canvas/evas_object_main.c
@@ -241,7 +241,8 @@ evas_object_free(Evas_Object *eo_obj, int clean_layer)
241 241
242 int was_smart_child = 0; 242 int was_smart_child = 0;
243 243
244 _evas_object_image_free(eo_obj); 244 if (eo_isa(eo_obj, EVAS_IMAGE_CLASS))
245 _evas_object_image_free(eo_obj);
245 evas_object_map_set(eo_obj, NULL); 246 evas_object_map_set(eo_obj, NULL);
246 if (obj->map->prev.map) evas_map_free(obj->map->prev.map); 247 if (obj->map->prev.map) evas_map_free(obj->map->prev.map);
247 if (obj->map->cache_map) evas_map_free(obj->map->cache_map); 248 if (obj->map->cache_map) evas_map_free(obj->map->cache_map);