Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/1052
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Mar 24, 2018
1 parent 0300424 commit 4ddd2f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coders/sgi.c
Expand Up @@ -1132,6 +1132,7 @@ static MagickBooleanType WriteSGIImage(const ImageInfo *image_info,Image *image)
runlength=(size_t *) RelinquishMagickMemory(runlength);
if (packet_info != (MemoryInfo *) NULL)
packet_info=RelinquishVirtualMemory(packet_info);
pixel_info=RelinquishVirtualMemory(pixel_info);
ThrowWriterException(ResourceLimitError,"MemoryAllocationFailed");
}
packets=(unsigned char *) GetVirtualMemoryBlob(packet_info);
Expand Down

0 comments on commit 4ddd2f8

Please sign in to comment.