| commit | ad5b0859c3b4c8d56a62fd922c051eab08a518ec | [log] [tgz] |
|---|---|---|
| author | cristy <urban-warrior@git.imagemagick.org> | Thu Sep 08 02:01:21 2011 +0000 |
| committer | cristy <urban-warrior@git.imagemagick.org> | Thu Sep 08 02:01:21 2011 +0000 |
| tree | bb2fd502a906c2c550ba5a70d2a08e5fbdda5dbb | |
| parent | 139c684fa13d2ebfd735e0d092cfef982d2b9f0f [diff] |
diff --git a/coders/png.c b/coders/png.c index eaf68d6..3617563 100644 --- a/coders/png.c +++ b/coders/png.c
@@ -2302,7 +2302,7 @@ (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);