]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 29 Oct 2012 23:07:39 +0000 (23:07 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 29 Oct 2012 23:07:39 +0000 (23:07 +0000)
MagickCore/cache.c

index 25abc1cd1609b32608ed4ed5174edc954d70ecb2..d04180453a26df9b640286e727099a67fc0c4aef 100644 (file)
@@ -1940,14 +1940,6 @@ static Cache GetImagePixelCache(Image *image,const MagickBooleanType clone,
                 status=ClonePixelCachePixels(clone_info,cache_info,exception);
               if (status != MagickFalse)
                 {
-                  if (cache_info->mode == ReadMode)
-                    {
-                      cache_info->nexus_info=AcquirePixelCacheNexus(
-                        cache_info->number_threads);
-                      if (cache_info->nexus_info == (NexusInfo **) NULL)
-                        ThrowFatalException(ResourceLimitFatalError,
-                          "MemoryAllocationFailed");
-                    }
                   destroy=MagickTrue;
                   image->cache=clone_image.cache;
                 }