From: Cristy Date: Sun, 2 Apr 2017 01:02:09 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.5-5~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f5af19bc3e28f09c8d4bf18558ac0bbeb9ad6de;p=imagemagick ... --- diff --git a/MagickCore/fx.c b/MagickCore/fx.c index f968f410f..8aee1e879 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -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( diff --git a/MagickCore/pixel.c b/MagickCore/pixel.c index ecfe063eb..b6c741f48 100644 --- a/MagickCore/pixel.c +++ b/MagickCore/pixel.c @@ -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);