From: cristy Date: Wed, 28 Jan 2015 01:15:00 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1354 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36d90305c5305291c1554978fbaa8deaf0ad9914;p=imagemagick --- diff --git a/coders/inline.c b/coders/inline.c index 79351cdfe..ed62996a9 100644 --- a/coders/inline.c +++ b/coders/inline.c @@ -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;