From 840792ecc3b2fb41f9d9ea422dbecbf078a13f38 Mon Sep 17 00:00:00 2001 From: Stephen Houston Date: Thu, 27 Aug 2015 12:20:30 -0500 Subject: [PATCH] Ephoto: Fix seg on free... Deleting the image already frees the data. --- src/bin/ephoto_single_browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c index 75b8709..c2ff227 100644 --- a/src/bin/ephoto_single_browser.c +++ b/src/bin/ephoto_single_browser.c @@ -1571,7 +1571,7 @@ ephoto_single_browser_entry_set(Evas_Object *obj, Ephoto_Entry *entry) _ephoto_single_browser_recalc(sb); if (sb->edited_image_data) { - free(sb->edited_image_data); + sb->edited_image_data = NULL; sb->ew = 0; sb->eh = 0;