summaryrefslogtreecommitdiff
path: root/src/lib/evas/cache/evas_cache_image.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/evas/cache/evas_cache_image.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/evas/cache/evas_cache_image.c b/src/lib/evas/cache/evas_cache_image.c
index 593f801efc..ae84db4491 100644
--- a/src/lib/evas/cache/evas_cache_image.c
+++ b/src/lib/evas/cache/evas_cache_image.c
@@ -181,7 +181,11 @@ _evas_cache_image_entry_delete(Evas_Cache_Image *cache, Image_Entry *ie)
181 FREESTRC(ie->cache_key); 181 FREESTRC(ie->cache_key);
182 FREESTRC(ie->file); 182 FREESTRC(ie->file);
183 FREESTRC(ie->key); 183 FREESTRC(ie->key);
184 if (ie->f && ie->flags.given_mmap) eina_file_close(ie->f); 184 if (ie->f && ie->flags.given_mmap)
185 {
186 eina_file_close(ie->f);
187 ie->f = NULL;
188 }
185 ie->cache = NULL; 189 ie->cache = NULL;
186 if ((cache) && (cache->func.surface_delete)) cache->func.surface_delete(ie); 190 if ((cache) && (cache->func.surface_delete)) cache->func.surface_delete(ie);
187 191