commit | d15e65928aec551b7388c2863de3e3e628e2e0dd | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Sat Oct 15 00:13:06 2011 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Sat Oct 15 00:13:06 2011 +0000 |
tree | ad1210ea923008cae1a92671624c04407b22d7a4 | |
parent | 092d71c02dbd1269ba0ff69be9da446fd2d44082 [diff] [blame] |
diff --git a/coders/jp2.c b/coders/jp2.c index cc8d33c..d966bb3 100644 --- a/coders/jp2.c +++ b/coders/jp2.c
@@ -622,7 +622,7 @@ ThrowReaderException(CorruptImageError,"MemoryAllocationFailed"); icc_profile=(StringInfo *) GetImageProfile(image,"icc"); if (icc_profile == (StringInfo *) NULL) - (void) SetImageProfile(image,"icc",profile); + (void) SetImageProfile(image,"icc",profile,exception); else (void) ConcatenateStringInfo(icc_profile,profile); profile=DestroyStringInfo(profile);