]> granicus.if.org Git - imagemagick/commitdiff
Added missing call to CloseBlob.
authorDirk Lemstra <dirk@git.imagemagick.org>
Sat, 24 Dec 2016 20:54:29 +0000 (21:54 +0100)
committerDirk Lemstra <dirk@git.imagemagick.org>
Sat, 24 Dec 2016 20:55:10 +0000 (21:55 +0100)
coders/jp2.c

index 61c5a05a6867d422c082190dbea9b3f2c289fa10..1c1fb61a746cd7b87b08becf59baa158a19a6adc 100644 (file)
@@ -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