Skip to content

Commit 748a036

Browse files
author
Cristy
committed
https://github.com/ImageMagick/ImageMagick/issues/1452
1 parent f14f66d commit 748a036

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: coders/sixel.c

+1
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,7 @@ static Image *ReadSIXELImage(const ImageInfo *image_info,ExceptionInfo *exceptio
10571057
if (sixel_decode(image,(unsigned char *) sixel_buffer,&sixel_pixels,&image->columns,&image->rows,&sixel_palette,&image->colors,exception) == MagickFalse)
10581058
{
10591059
sixel_buffer=(char *) RelinquishMagickMemory(sixel_buffer);
1060+
sixel_pixels=(unsigned char *) RelinquishMagickMemory(sixel_pixels);
10601061
ThrowReaderException(CorruptImageError,"CorruptImage");
10611062
}
10621063
sixel_buffer=(char *) RelinquishMagickMemory(sixel_buffer);

0 commit comments

Comments
 (0)