summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-12-05 16:01:17 -0800
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-11 10:36:05 +0100
commit574d1192bb41c744c92fe0fd69380b2080dbb038 (patch)
tree199a7f4721e1ed226132b7920daef3ca7153e41b
parent115a9a22b1d25d8d3b2d433994cc6756174b11b9 (diff)
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
-rw-r--r--src/lib/evas/canvas/evas_object_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index 3a6a7df..4653aff 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -1683,8 +1683,8 @@ _efl_canvas_image_internal_efl_object_destructor(Eo *eo_obj, Evas_Image_Data *o
1683 1683
1684 if (obj->legacy.ctor) 1684 if (obj->legacy.ctor)
1685 evas_object_image_video_surface_set(eo_obj, NULL); 1685 evas_object_image_video_surface_set(eo_obj, NULL);
1686 evas_object_image_free(eo_obj, obj);
1687 efl_gfx_image_stretch_region_set(eo_obj, NULL, NULL); 1686 efl_gfx_image_stretch_region_set(eo_obj, NULL, NULL);
1687 evas_object_image_free(eo_obj, obj);
1688 efl_destructor(efl_super(eo_obj, MY_CLASS)); 1688 efl_destructor(efl_super(eo_obj, MY_CLASS));
1689} 1689}
1690 1690