summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-02-25 10:51:29 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2020-02-25 16:43:23 +0100
commit9caa31357c395c0576e97eddef17b599b7edc470 (patch)
tree1a09b44cc4b84bfb9670cd84d98688555fe43e6a
parent2248e84a4bdae0302a69346b1b6fecbcd6a81534 (diff)
downloadefl-9caa31357c395c0576e97eddef17b599b7edc470.tar.gz
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 <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11408
-rw-r--r--src/bin/exactness/inspect.c1
1 files changed, 1 insertions, 0 deletions
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
{