mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
This commit is contained in:
+4
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user