Commit b0fe1aa7 authored by Cristy's avatar Cristy
parent d3ae9c19
......@@ -3506,6 +3506,11 @@ static MagickBooleanType WriteTIFFImage(const ImageInfo *image_info,
TIFFUnmapBlob);
if (tiff == (TIFF *) NULL)
return(MagickFalse);
if (exception->severity > ErrorException)
{
TIFFClose(tiff);
return(MagickFalse);
}
(void) DeleteImageProfile(image,"tiff:37724");
scene=0;
debug=IsEventLogging();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment