From 1667f37e310f7640278407a7e84bc787485030dd Mon Sep 17 00:00:00 2001 From: Cristy Date: Thu, 16 Feb 2017 08:52:17 -0500 Subject: [PATCH] ... --- MagickCore/cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MagickCore/cache.c b/MagickCore/cache.c index 34dd519ea..fec196724 100644 --- a/MagickCore/cache.c +++ b/MagickCore/cache.c @@ -4699,6 +4699,8 @@ static inline MagickBooleanType AcquireCacheNexusPixels( nexus_info->mapped=MagickFalse; nexus_info->cache=(Quantum *) MagickAssumeAligned(AcquireAlignedMemory(1, (size_t) nexus_info->length)); + if (nexus_info->cache != (PixelPacket *) NULL) + ResetMagickMemory(nexus_info->cache,0,(size_t) nexus_info->length); } else { -- 2.40.0