]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Tue, 21 Feb 2017 17:46:40 +0000 (12:46 -0500)
committerCristy <urban-warrior@imagemagick.org>
Tue, 21 Feb 2017 17:46:40 +0000 (12:46 -0500)
coders/mpc.c

index 6fd18486bbb17a1030713c8b72362355d403140d..83ca2016e51ced16b0fa3f856aee0e5e03b69c4d 100644 (file)
@@ -850,7 +850,7 @@ static Image *ReadMPCImage(const ImageInfo *image_info,ExceptionInfo *exception)
         /*
           Create image colormap.
         */
-        if (AcquireImageColormap(image,image->colors) == MagickFalse)
+        if (AcquireImageColormap(image,image->colors,exception) == MagickFalse)
           ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
         if (image->colors != 0)
           {