stefan pushed a commit to branch master.

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

commit e638dbd8ead6ccb1c8e05735c3f186383f2e613e
Author: Stefan Schmidt <[email protected]>
Date:   Tue Feb 25 12:29:01 2020 +0100

    exactness: inspect: free image before leaving scope
    
    We need to amke sure we free this images before we return.
    
    CID: 1419848
    
    Reviewed-by: Mike Blumenkrantz <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11413
---
 src/bin/exactness/inspect.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/exactness/inspect.c b/src/bin/exactness/inspect.c
index 1bf671fae9..c0d70d950d 100644
--- a/src/bin/exactness/inspect.c
+++ b/src/bin/exactness/inspect.c
@@ -505,6 +505,7 @@ _scn_content_get(void *data, Evas_Object *gl, const char 
*part)
                      evas_object_image_data_set(evas_img, ex_imgO->pixels);
                      evas_object_show(ic);
                      elm_object_part_content_set(bt, "icon", ic);
+                     exactness_image_free(ex_imgO);
                      return bt;
                   }
              }

-- 


Reply via email to