summaryrefslogtreecommitdiff
path: root/src/lib/emile
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-07-18 14:26:16 +0900
committerHermet Park <hermetpark@gmail.com>2018-07-18 14:26:16 +0900
commit268d3fcef57a795e209dbd597162fc59d4623b55 (patch)
tree82fce1de69fe28311d2b14e74ca0a904cc34a278 /src/lib/emile
parent2916cfd86b74d76cab02242a02fd2412588c06a0 (diff)
emile image: close file properly.
@fix
Diffstat (limited to 'src/lib/emile')
-rw-r--r--src/lib/emile/emile_image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/emile/emile_image.c b/src/lib/emile/emile_image.c
index 32722b722f..9f0a3ac18e 100644
--- a/src/lib/emile/emile_image.c
+++ b/src/lib/emile/emile_image.c
@@ -2391,6 +2391,8 @@ _emile_image_bind(Emile_Image *ei,
2391 return ei; 2391 return ei;
2392 2392
2393 /* File is not of that format */ 2393 /* File is not of that format */
2394 if (!ei->bin_source)
2395 eina_file_close(ei->source.f);
2394 free(ei); 2396 free(ei);
2395 return NULL; 2397 return NULL;
2396} 2398}