Ephoto: Fix seg on free... Deleting the image already frees the data.
This commit is contained in:
parent
b5837424dd
commit
840792ecc3
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue