From: cristy Date: Tue, 14 Aug 2012 12:46:45 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d9786a277e158e65087c0000f87d6bc45fc3307;p=imagemagick --- diff --git a/coders/jnx.c b/coders/jnx.c index d2d498c06..44486c64b 100644 --- a/coders/jnx.c +++ b/coders/jnx.c @@ -268,7 +268,7 @@ static Image *ReadJNXImage(const ImageInfo *image_info,ExceptionInfo *exception) /* Read a tile. */ - blob=(unsigned char *) AcquireMagickMemory((tile_length+2)*sizeof(*blob)); + blob=(unsigned char *) AcquireQuantumMemory(tile_length+2,sizeof(*blob)); if (blob == (unsigned char *) NULL) { if (images != (Image *) NULL)