From 2460f71fcdb112dacbc14e3d9b9913dec66af820 Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 26 Dec 2017 09:15:01 -0500 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/918 --- coders/png.c | 1 - 1 file changed, 1 deletion(-) diff --git a/coders/png.c b/coders/png.c index 9214bc42e..135ec87cb 100644 --- a/coders/png.c +++ b/coders/png.c @@ -5610,7 +5610,6 @@ static Image *ReadOneMNGImage(MngInfo* mng_info, const ImageInfo *image_info, if (length < 2) { chunk=(unsigned char *) RelinquishMagickMemory(chunk); - mng_info=MngInfoFreeStruct(mng_info); ThrowReaderException(CorruptImageError,"CorruptImage"); } -- 2.40.0