]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 28 Jan 2015 01:15:00 +0000 (01:15 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 28 Jan 2015 01:15:00 +0000 (01:15 +0000)
coders/inline.c

index 79351cdfeaec10d7b428829464b995c207b13bc8..ed62996a9383de15a466d2b0dca6fc89b24c681b 100644 (file)
@@ -267,9 +267,6 @@ static MagickBooleanType WriteINLINEImage(const ImageInfo *image_info,
   const MagickInfo
     *magick_info;
 
-  ExceptionInfo
-    *sans_exception;
-
   ImageInfo
     *write_info;
 
@@ -293,10 +290,7 @@ static MagickBooleanType WriteINLINEImage(const ImageInfo *image_info,
   if (image->debug != MagickFalse)
     (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
   blob_length=2048;
-  sans_exception=AcquireExceptionInfo();
-  blob=(unsigned char *) ImageToBlob(image_info,image,&blob_length,
-    sans_exception);
-  sans_exception=DestroyExceptionInfo(sans_exception);
+  blob=(unsigned char *) ImageToBlob(image_info,image,&blob_length,exception);
   if (blob == (unsigned char *) NULL)
     return(MagickFalse);
   encode_length=0;