nexus_info->mapped=MagickFalse;
nexus_info->cache=(Quantum *) MagickAssumeAligned(AcquireAlignedMemory(1,
(size_t) nexus_info->length));
- if (nexus_info->cache == (Quantum *) NULL)
+ if (nexus_info->cache != (Quantum *) NULL)
+ (void) ResetMagickMemory(nexus_info->cache,0,nexus_info->length);
+ else
{
nexus_info->mapped=MagickTrue;
nexus_info->cache=(Quantum *) MapBlob(-1,IOMode,0,(size_t)
% %
% %
% %
-+ G e t V i r t u a l P i x e l s F r o m S t r e a m %
++ G e t V i r t u a l P i x e l s F r o m S t r e a m %
% %
% %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% GetVirtualPixelsStream() returns the pixels associated with the last
-% call to QueueAuthenticPixelsStream() or GetVirtualPixelStream().
+% GetVirtualPixelsStream() returns the pixels associated with the last call to
+% QueueAuthenticPixelsStream() or GetVirtualPixelStream().
%
% The format of the GetVirtualPixelsStream() method is:
%