ephoto_file: fix resource leak. CID156953
This commit is contained in:
parent
38c246b000
commit
a0a389abb0
|
@ -933,6 +933,7 @@ _prompt_upload_apply(void *data, Evas_Object *obj EINA_UNUSED,
|
||||||
if (fsize == -1)
|
if (fsize == -1)
|
||||||
{
|
{
|
||||||
CRIT("ftell() failed on file '%s': %s", entry->path, strerror(errno));
|
CRIT("ftell() failed on file '%s': %s", entry->path, strerror(errno));
|
||||||
|
fclose(f);
|
||||||
evas_object_del(popup);
|
evas_object_del(popup);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue