hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6307fc056a25ae70655004d3f1d7c3d9106624ba

commit 6307fc056a25ae70655004d3f1d7c3d9106624ba
Author: Hermet Park <hermetp...@gmail.com>
Date:   Fri Feb 14 17:06:44 2020 +0900

    canvas image: remove unnecessary condition check.
---
 src/lib/evas/canvas/evas_object_image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index 0391d81782..6ed0fe0ed2 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -1727,7 +1727,7 @@ evas_object_image_free(Evas_Object *eo_obj, 
Evas_Object_Protected_Data *obj)
      }
    if (o->cur->source)
      {
-        if (o->cur->source) _evas_image_proxy_unset(eo_obj, obj, o);
+        _evas_image_proxy_unset(eo_obj, obj, o);
         EINA_COW_IMAGE_STATE_WRITE_BEGIN(o, state_write)
         state_write->source = NULL;
         EINA_COW_IMAGE_STATE_WRITE_END(o, state_write);

-- 


Reply via email to