summaryrefslogtreecommitdiff
path: root/coders/stegano.c
diff options
context:
space:
mode:
Diffstat (limited to 'coders/stegano.c')
-rw-r--r--coders/stegano.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coders/stegano.c b/coders/stegano.c
index 71ba93056..f0c52c020 100644
--- a/coders/stegano.c
+++ b/coders/stegano.c
@@ -159,7 +159,7 @@ static Image *ReadSTEGANOImage(const ImageInfo *image_info,
if (watermark == (Image *) NULL)
return((Image *) NULL);
watermark->depth=MAGICKCORE_QUANTUM_DEPTH;
- if (AcquireImageColormap(image,MaxColormapSize) == MagickFalse)
+ if (AcquireImageColormap(image,MaxColormapSize,exception) == MagickFalse)
ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
if (image_info->ping != MagickFalse)
{