forked from enlightenment/efl
evas: efl_gfx_image_stretch_region_set need access to image state before it is freed.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10814
This commit is contained in:
parent
115a9a22b1
commit
574d1192bb
|
@ -1683,8 +1683,8 @@ _efl_canvas_image_internal_efl_object_destructor(Eo *eo_obj, Evas_Image_Data *o
|
|||
|
||||
if (obj->legacy.ctor)
|
||||
evas_object_image_video_surface_set(eo_obj, NULL);
|
||||
evas_object_image_free(eo_obj, obj);
|
||||
efl_gfx_image_stretch_region_set(eo_obj, NULL, NULL);
|
||||
evas_object_image_free(eo_obj, obj);
|
||||
efl_destructor(efl_super(eo_obj, MY_CLASS));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue