]> granicus.if.org Git - imagemagick/commitdiff
Don't close blob for JNG image
authorCristy <urban-warrior@imagemagick.org>
Sat, 3 Oct 2015 00:38:03 +0000 (20:38 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 3 Oct 2015 00:38:03 +0000 (20:38 -0400)
coders/png.c

index 2a4ee0dab85aab2d5e88686d0d1da90b6bd8108f..946fc2dae4763d7d61e23206b658dc6d2e22d5af 100644 (file)
@@ -4600,9 +4600,6 @@ static Image *ReadOneJNGImage(MngInfo *mng_info,
        o destroy the secondary image.
   */
 
-  if (color_image != (Image *) NULL)
-    (void) CloseBlob(color_image);
-
   if (color_image_info == (ImageInfo *) NULL)
     {
       assert(color_image == (Image *) NULL);