From: Dirk Lemstra Date: Sat, 24 Dec 2016 20:54:29 +0000 (+0100) Subject: Added missing call to CloseBlob. X-Git-Tag: 7.0.4-1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad58fa2d4cfde51848d8efd3a3a1e8533753f023;p=imagemagick Added missing call to CloseBlob. --- 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