*/
static Image *ReadCUTImage(const ImageInfo *image_info,ExceptionInfo *exception)
{
-#define ThrowCUTReaderException(severity,reason) \
+#define ThrowCUTReaderException(severity,tag) \
{ \
if (palette != NULL) \
palette=DestroyImage(palette); \
if (clone_info != NULL) \
clone_info=DestroyImageInfo(clone_info); \
- ThrowReaderException(severity,reason); \
+ ThrowReaderException(severity,tag); \
}
Image *image,*palette;
break;
status=SetImageExtent(image,image->columns,image->rows,exception);
if (status == MagickFalse)
- return(DestroyImageList(image));
+ ThrowPCXException(exception->severity,exception->reason);
/*
Read image data.
*/