]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/memory.c
(no commit message)
[imagemagick] / MagickCore / memory.c
index fa6bdcb89d4222e4933e07d86838136faf0ac68d..b6d34cad9b68985574ae921c14f310fd1542245b 100644 (file)
@@ -214,7 +214,7 @@ MagickExport void *AcquireAlignedMemory(const size_t count,const size_t quantum)
   if (posix_memalign(&memory,alignment,extent) != 0)
     memory=NULL;
 #elif defined(MAGICKCORE_HAVE__ALIGNED_MALLOC)
-  memory=_aligned_malloc(size,alignment);
+  memory=_aligned_malloc(extent,alignment);
 #else
   {
     void