From: cristy Date: Thu, 8 Sep 2011 02:01:21 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~7049 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad5b0859c3b4c8d56a62fd922c051eab08a518ec;p=imagemagick --- 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);