stefan pushed a commit to branch master.

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

commit 9caa31357c395c0576e97eddef17b599b7edc470
Author: Stefan Schmidt <[email protected]>
Date:   Tue Feb 25 10:51:29 2020 +0100

    exactness: inspect: free local allocation before leaving scope
    
    Before we leave the scope here this needs to get free'd up or it will
    leak.
    
    CID: 1419877
    
    Reviewed-by: Mike Blumenkrantz <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11408
---
 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 7a119034b0..1bf671fae9 100644
--- a/src/bin/exactness/inspect.c
+++ b/src/bin/exactness/inspect.c
@@ -563,6 +563,7 @@ _img_content_get(void *data, Evas_Object *gl, const char 
*part)
         evas_object_image_size_set(evas_img, ex_imgO->w, ex_imgO->h);
         evas_object_image_data_set(evas_img, ex_imgO->pixels);
         evas_object_size_hint_min_set(img, ELM_SCALE_SIZE(300), 
ELM_SCALE_SIZE(300));
+        exactness_image_free(ex_imgO);
      }
    else
      {

-- 


Reply via email to