]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 13 Dec 2012 14:56:15 +0000 (14:56 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 13 Dec 2012 14:56:15 +0000 (14:56 +0000)
MagickCore/cache-view.c
MagickCore/exception-private.h
coders/msl.c

index 81be7a1085a481fc1e5f20f20242b061a624f079..990c8943381110e72b8002a7fd4029337ac29232 100644 (file)
@@ -124,6 +124,7 @@ MagickExport CacheView *AcquireAuthenticCacheView(const Image *image)
   if (status == MagickFalse)
     {
       CatchException(exception);
+      MagickCoreTerminus();
       _exit(1);
     }
   exception=DestroyExceptionInfo(exception);
index 3e1d87cdbdbbfcef6bdfa8f0484362be7744fade..53d4ddabe516b15891be924bc1b68a6f11c397f7 100644 (file)
@@ -23,6 +23,7 @@ extern "C" {
 #endif
 
 #include "MagickCore/log.h"
+#include "MagickCore/magick.h"
 #include "MagickCore/string_.h"
 
 #define ThrowBinaryException(severity,tag,context) \
@@ -47,6 +48,7 @@ extern "C" {
   message=DestroyString(message); \
   CatchException(&exception); \
   (void) DestroyExceptionInfo(&exception); \
+  MagickCoreTerminus(); \
   _exit(1); \
 }
 #define ThrowFileException(exception,severity,tag,context) \
index bec7f21e31ceb1b4d0716356abc91e5b98414901..09a7eb79b291a9941aa95077e6fd8154abc65f2c 100644 (file)
@@ -1955,8 +1955,7 @@ static void MSLStartElement(void *context,const xmlChar *tag,
                       if (composite_image->alpha_trait == UndefinedPixelTrait)
                         (void) SetImageAlpha(composite_image,OpaqueAlpha,
                           &exception);
-                      composite_view=AcquireAuthenticCacheView(composite_image,
-                        &exception);
+                      composite_view=AcquireAuthenticCacheView(composite_image);
                       for (y=0; y < (ssize_t) composite_image->rows ; y++)
                       {
                         q=GetCacheViewAuthenticPixels(composite_view,0,y,