ephoto_file: fix resource leak. CID156953

This commit is contained in:
Boris Faure 2016-11-28 21:28:33 +01:00
parent 38c246b000
commit a0a389abb0
1 changed files with 1 additions and 0 deletions

View File

@ -933,6 +933,7 @@ _prompt_upload_apply(void *data, Evas_Object *obj EINA_UNUSED,
if (fsize == -1)
{
CRIT("ftell() failed on file '%s': %s", entry->path, strerror(errno));
fclose(f);
evas_object_del(popup);
return;
}