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 <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11413
This commit is contained in:
Stefan Schmidt 2020-02-25 12:29:01 +01:00
parent 64b83d1e2e
commit e638dbd8ea
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}