]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 2 Apr 2017 01:02:09 +0000 (21:02 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 2 Apr 2017 01:02:09 +0000 (21:02 -0400)
MagickCore/fx.c
MagickCore/pixel.c

index f968f410fe137e49e399159de49390cfc0b84090..8aee1e87935331cd6bd32b0f7a8de2aa1ce24168 100644 (file)
@@ -183,7 +183,7 @@ MagickPrivate FxInfo *AcquireFxInfo(const Image *images,const char *expression,
   fx_info->exception=AcquireExceptionInfo();
   fx_info->images=images;
   fx_info->colors=NewSplayTree(CompareSplayTreeString,RelinquishMagickMemory,
-    RelinquishAlignedMemory);
+    RelinquishMagickMemory);
   fx_info->symbols=NewSplayTree(CompareSplayTreeString,RelinquishMagickMemory,
     RelinquishMagickMemory);
   fx_info->view=(CacheView **) AcquireQuantumMemory(GetImageListLength(
index ecfe063ebb371e5c56193aeeb80d26fe8b9104e9..b6c741f481000aef6ce2988086c8bc6f323dbc3e 100644 (file)
@@ -172,8 +172,7 @@ MagickExport PixelInfo *ClonePixelInfo(const PixelInfo *pixel)
   PixelInfo
     *pixel_info;
 
-  pixel_info=(PixelInfo *) MagickAssumeAligned(AcquireAlignedMemory(1,
-    sizeof(*pixel_info)));
+  pixel_info=(PixelInfo *) AcquireQuantumMemory(1,sizeof(*pixel_info)));
   if (pixel_info == (PixelInfo *) NULL)
     ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
   *pixel_info=(*pixel);