Evas.Image: Fix ERR message (invalid call)

There was an unintended change from a silent return to EINA_SAFETY
inside _evas_object_image_free(). This avoids calling the function
altogether.
This commit is contained in:
Jean-Philippe Andre 2016-03-16 19:03:41 +09:00
parent e981bfc4e8
commit 6b03d46d54
1 changed files with 2 additions and 1 deletions

View File

@ -241,7 +241,8 @@ evas_object_free(Evas_Object *eo_obj, int clean_layer)
int was_smart_child = 0;
_evas_object_image_free(eo_obj);
if (eo_isa(eo_obj, EVAS_IMAGE_CLASS))
_evas_object_image_free(eo_obj);
evas_object_map_set(eo_obj, NULL);
if (obj->map->prev.map) evas_map_free(obj->map->prev.map);
if (obj->map->cache_map) evas_map_free(obj->map->cache_map);