summaryrefslogtreecommitdiff
path: root/coders/mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'coders/mac.c')
-rw-r--r--coders/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coders/mac.c b/coders/mac.c
index 3af844afd..5ddcf7e8a 100644
--- a/coders/mac.c
+++ b/coders/mac.c
@@ -146,7 +146,7 @@ static Image *ReadMACImage(const ImageInfo *image_info,ExceptionInfo *exception)
image->columns=576;
image->rows=720;
image->depth=1;
- if (AcquireImageColormap(image,2) == MagickFalse)
+ if (AcquireImageColormap(image,2,exception) == MagickFalse)
ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
if (image_info->ping != MagickFalse)
{