From ad5b0859c3b4c8d56a62fd922c051eab08a518ec Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 8 Sep 2011 02:01:21 +0000 Subject: [PATCH] --- coders/png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/png.c b/coders/png.c index eaf68d613..3617563ad 100644 --- a/coders/png.c +++ b/coders/png.c @@ -2302,7 +2302,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info, (void) ThrowMagickException(&image->exception,GetMagickModule(), ResourceLimitError,"MemoryAllocationFailed","`%s'", "unable to copy profile"); - return(MagickFalse); + return((Image *) NULL); } SetStringInfoDatum(profile,(const unsigned char *) info); (void) SetImageProfile(image,"icc",profile); -- 2.40.0