forked from enlightenment/efl
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:
parent
e981bfc4e8
commit
6b03d46d54
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue