diff --git a/src/bin/ephoto_file.c b/src/bin/ephoto_file.c index 6d89ea5..5d86a36 100644 --- a/src/bin/ephoto_file.c +++ b/src/bin/ephoto_file.c @@ -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; }