Ephoto: Fix seg on free... Deleting the image already frees the data.

This commit is contained in:
Stephen Houston 2015-08-27 12:20:30 -05:00
parent b5837424dd
commit 840792ecc3
1 changed files with 1 additions and 1 deletions

View File

@ -1571,7 +1571,7 @@ ephoto_single_browser_entry_set(Evas_Object *obj, Ephoto_Entry *entry)
_ephoto_single_browser_recalc(sb); _ephoto_single_browser_recalc(sb);
if (sb->edited_image_data) if (sb->edited_image_data)
{ {
free(sb->edited_image_data);
sb->edited_image_data = NULL; sb->edited_image_data = NULL;
sb->ew = 0; sb->ew = 0;
sb->eh = 0; sb->eh = 0;