]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 21 Jan 2014 19:22:00 +0000 (19:22 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 21 Jan 2014 19:22:00 +0000 (19:22 +0000)
MagickCore/cache.c

index 0c06ed52281a83bf96f9f6a1118fff24c3fbefd9..efaf2ed631142c9f4b78e54ed4acf5f108744fe6 100644 (file)
@@ -600,6 +600,7 @@ static MagickBooleanType ClonePixelCacheRepository(
       clone_nexus[id],exception);
     if (pixels == (Quantum *) NULL)
       continue;
+    (void) ResetMagickMemory(clone_nexus[id]->pixels,0,clone_nexus[id]->length);
     if (optimize != MagickFalse)
       (void) memcpy(clone_nexus[id]->pixels,cache_nexus[id]->pixels,length*
         sizeof(Quantum));