Commit 6b0531e07 for imagemagick.org
commit 6b0531e07e9e4234a64c5af158541222f04ce21e
Author: Cristy <urban-warrior@imagemagick.org>
Date: Sun Mar 1 06:52:53 2026 -0500
cosmetic
diff --git a/coders/sgi.c b/coders/sgi.c
index 7bb0858de..3bf78def6 100644
--- a/coders/sgi.c
+++ b/coders/sgi.c
@@ -1143,8 +1143,7 @@ static MagickBooleanType WriteSGIImage(const ImageInfo *image_info,Image *image,
runlength=(size_t *) RelinquishMagickMemory(runlength);
ThrowWriterException(ResourceLimitError,"MemoryAllocationFailed");
}
- packet_info=AcquireVirtualMemory(extent*image->rows,
- 4*sizeof(*packets));
+ packet_info=AcquireVirtualMemory(extent*image->rows,4*sizeof(*packets));
if ((offsets == (ssize_t *) NULL) ||
(runlength == (size_t *) NULL) ||
(packet_info == (MemoryInfo *) NULL))