]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Thu, 6 Jul 2017 01:01:54 +0000 (21:01 -0400)
committerCristy <urban-warrior@imagemagick.org>
Thu, 6 Jul 2017 01:01:54 +0000 (21:01 -0400)
MagickCore/threshold.c

index 606ac67b4f531d1881c4359ebdfabeeee4c7a7a6..92775b5abea8db563362f40922ccab5aa9bf6a45 100644 (file)
@@ -428,7 +428,8 @@ static double OTSUThreshold(const Image *image,const double *histogram,
       if (myu != (double *) NULL)
         myu=(double *) RelinquishMagickMemory(myu);
       (void) ThrowMagickException(exception,GetMagickModule(),
-        ResourceLimitError,"MemoryAllocationFailed",image->filename);
+        ResourceLimitError,"MemoryAllocationFailed","`%s'",image->filename);
+
       return(-1.0);
     }
   /*