]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Mon, 24 Jul 2017 13:21:49 +0000 (09:21 -0400)
committerCristy <urban-warrior@imagemagick.org>
Mon, 24 Jul 2017 13:21:49 +0000 (09:21 -0400)
coders/mat.c

index 37cf53599d0f5b5c8bb9de1207f214b946f56fc5..de7d6538aaafffef60642f9513194c5f6c77f8eb 100644 (file)
@@ -1355,8 +1355,8 @@ END_OF_READING:
     clone_info = NULL;
   }
   if (logging) (void)LogMagickEvent(CoderEvent,GetMagickModule(),"return");
-  if(image==NULL)
-    ThrowReaderException(CorruptImageError,"ImproperImageHeader");
+  if (image==NULL)
+    ThrowReaderException(CorruptImageError,"ImproperImageHeader")
   else
     if ((image != image2) && (image2 != (Image *) NULL))
       image2=DestroyImage(image2);