summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_image_legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_image_legacy.c')
-rw-r--r--src/lib/evas/canvas/evas_image_legacy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_image_legacy.c b/src/lib/evas/canvas/evas_image_legacy.c
index d1dcf933ee..4901c3aeb5 100644
--- a/src/lib/evas/canvas/evas_image_legacy.c
+++ b/src/lib/evas/canvas/evas_image_legacy.c
@@ -673,6 +673,7 @@ evas_object_image_data_set(Eo *eo_obj, void *data)
673 if (o->engine_data) 673 if (o->engine_data)
674 { 674 {
675 ENFN->image_free(ENC, o->engine_data); 675 ENFN->image_free(ENC, o->engine_data);
676 o->engine_data = NULL;
676 o->changed = EINA_TRUE; 677 o->changed = EINA_TRUE;
677 evas_object_change(eo_obj, obj); 678 evas_object_change(eo_obj, obj);
678 } 679 }
@@ -687,8 +688,6 @@ evas_object_image_data_set(Eo *eo_obj, void *data)
687 state_write->image.stride = 0; 688 state_write->image.stride = 0;
688 } 689 }
689 EINA_COW_IMAGE_STATE_WRITE_END(o, state_write); 690 EINA_COW_IMAGE_STATE_WRITE_END(o, state_write);
690
691 o->engine_data = NULL;
692 } 691 }
693/* FIXME - in engine call above 692/* FIXME - in engine call above
694 if (o->engine_data) 693 if (o->engine_data)