Skip to content
Permalink
Browse files Browse the repository at this point in the history
https://github.com/ImageMagick/ImageMagick/issues/572
  • Loading branch information
Cristy committed Jul 17, 2017
1 parent 73b6c35 commit d555940
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion coders/inline.c
Expand Up @@ -316,7 +316,10 @@ static MagickBooleanType WriteINLINEImage(const ImageInfo *image_info,
magick_info=GetMagickInfo(write_info->magick,exception);
if ((magick_info == (const MagickInfo *) NULL) ||
(GetMagickMimeType(magick_info) == (const char *) NULL))
ThrowWriterException(CorruptImageError,"ImageTypeNotSupported");
{
write_info=DestroyImageInfo(write_info);
ThrowWriterException(CorruptImageError,"ImageTypeNotSupported");
}
(void) CopyMagickString(image->filename,write_info->filename,
MagickPathExtent);
blob_length=2048;
Expand Down

0 comments on commit d555940

Please sign in to comment.