% July 1998 %
% %
% %
-% Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization %
+% Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization %
% dedicated to making software imaging solutions freely available. %
% %
% You may not use this file except in compliance with the License. You may %
{
(AcquireMemoryHandler) malloc,
(ResizeMemoryHandler) realloc,
- (DestroyMemoryHandler)free
+ (DestroyMemoryHandler) free
};
#if defined(MAGICKCORE_EMBEDDABLE_SUPPORT)
return(memory);
}
#endif
- return(malloc(size));
+ return(malloc(MagickMax(size,AlignedSize)));
}
\f
#if defined(MAGICKCORE_EMBEDDABLE_SUPPORT)