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

index 25abc1cd1609b32608ed4ed5174edc954d70ecb2..12ccf2f034d2e7e8d6125b501b662889c92dc4a4 100644 (file)
@@ -1942,11 +1942,8 @@ static Cache GetImagePixelCache(Image *image,const MagickBooleanType clone,
                 {
                   if (cache_info->mode == ReadMode)
                     {
-                      cache_info->nexus_info=AcquirePixelCacheNexus(
-                        cache_info->number_threads);
-                      if (cache_info->nexus_info == (NexusInfo **) NULL)
-                        ThrowFatalException(ResourceLimitFatalError,
-                          "MemoryAllocationFailed");
+                      cache_info->nexus_info=(NexusInfo **) NULL;
+                      status=MagickFalse;
                     }
                   destroy=MagickTrue;
                   image->cache=clone_image.cache;