]> granicus.if.org Git - imagemagick/commitdiff
https://github.com/ImageMagick/ImageMagick/issues/915
authorCristy <urban-warrior@imagemagick.org>
Fri, 22 Dec 2017 14:14:55 +0000 (09:14 -0500)
committerCristy <urban-warrior@imagemagick.org>
Fri, 22 Dec 2017 14:14:55 +0000 (09:14 -0500)
coders/png.c

index 7dd818b500eedb7f3e9a405f31d12d2ec99448c9..610b90f165f659666c72271bfb0bbdefe89e4840 100644 (file)
@@ -2384,7 +2384,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info,
           "  exit ReadOnePNGImage() with error.");
 
       if (image != (Image *) NULL)
-        image=DestroyImage(image);
+        image=DestroyImageList(image);
       return(image);
     }