Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/1452
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jan 20, 2019
1 parent f14f66d commit 748a036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coders/sixel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,7 @@ static Image *ReadSIXELImage(const ImageInfo *image_info,ExceptionInfo *exceptio
if (sixel_decode(image,(unsigned char *) sixel_buffer,&sixel_pixels,&image->columns,&image->rows,&sixel_palette,&image->colors,exception) == MagickFalse)
{
sixel_buffer=(char *) RelinquishMagickMemory(sixel_buffer);
sixel_pixels=(unsigned char *) RelinquishMagickMemory(sixel_pixels);
ThrowReaderException(CorruptImageError,"CorruptImage");
}
sixel_buffer=(char *) RelinquishMagickMemory(sixel_buffer);
Expand Down

0 comments on commit 748a036

Please sign in to comment.