forked from enlightenment/efl
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
This commit is contained in:
parent
2248e84a4b
commit
9caa31357c
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue