summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 858e79058a..9a0bdb04c4 100644
--- a/src/lib/emile/emile_image.c
+++ b/src/lib/emile/emile_image.c
@@ -680,6 +680,7 @@ _emile_tgv_data(Emile_Image *image,
680 680
681on_error: 681on_error:
682 if (image->compress) eina_binbuf_free(buffer); 682 if (image->compress) eina_binbuf_free(buffer);
683 _emile_image_file_source_unmap(image);
683 return r; 684 return r;
684} 685}
685 686
@@ -2325,6 +2326,7 @@ done:
2325 2326
2326 jpeg_destroy_decompress(&cinfo); 2327 jpeg_destroy_decompress(&cinfo);
2327 _emile_jpeg_membuf_src_term(&cinfo); 2328 _emile_jpeg_membuf_src_term(&cinfo);
2329 _emile_image_file_source_unmap(image);
2328 return r; 2330 return r;
2329 2331
2330} 2332}