Cristy
2018-01-04 06:37:50 -05:00
parent d85c34f8bd
commit 1c3dd700bb
+4 -1
View File
@@ -977,7 +977,10 @@ static Image *ReadPATTERNImage(const ImageInfo *image_info,
break;
}
if (blob == (const void *) NULL)
ThrowReaderException(OptionError,"UnrecognizedImageFormat");
{
blob_info=DestroyImageInfo(blob_info);
ThrowReaderException(OptionError,"UnrecognizedImageFormat");
}
image=BlobToImage(blob_info,blob,extent,exception);
if (image_info->size != (char *) NULL)
{