From 87f2b6f03565d439920254e7c1be54cec9bd63f8 Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 19 Dec 2017 20:29:03 -0500 Subject: [PATCH] ... --- coders/png.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coders/png.c b/coders/png.c index 1c691c66e..3b6b186bc 100644 --- a/coders/png.c +++ b/coders/png.c @@ -9254,7 +9254,8 @@ static MagickBooleanType WriteOnePNGImage(MngInfo *mng_info, { (void) ThrowMagickException(exception,GetMagickModule(), ResourceLimitError,"MemoryAllocationFailed","`%s'", - IMimage->filename); + image->filename); + break; } for (i=0; i< (ssize_t) image_colors; i++) -- 2.40.0