From ad58fa2d4cfde51848d8efd3a3a1e8533753f023 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 24 Dec 2016 21:54:29 +0100 Subject: [PATCH] Added missing call to CloseBlob. --- coders/jp2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coders/jp2.c b/coders/jp2.c index 61c5a05a6..1c1fb61a7 100644 --- a/coders/jp2.c +++ b/coders/jp2.c @@ -504,6 +504,7 @@ static Image *ReadJP2Image(const ImageInfo *image_info,ExceptionInfo *exception) opj_destroy_codec(jp2_codec); opj_image_destroy(jp2_image); opj_destroy_cstr_index(&codestream_index); + (void) CloseBlob(image); return(GetFirstImageInList(image)); } #endif -- 2.40.0