From e92492afac23315358850e5e050144930049e9cb Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 24 Mar 2018 12:42:46 -0400 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/1052 --- coders/sgi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coders/sgi.c b/coders/sgi.c index a17f7f9a2..b334cb01c 100644 --- a/coders/sgi.c +++ b/coders/sgi.c @@ -1129,6 +1129,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); -- 2.40.0