commit | 979bf7781cfcde33612013cd09a2e5cd048b6509 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Mon Aug 08 00:04:15 2011 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Mon Aug 08 00:04:15 2011 +0000 |
tree | 82723d236e22b515729bf74405ed729af54fb287 | |
parent | 208b100df2ce7f22fc4208b807cda340591d24c6 [diff] |
diff --git a/MagickCore/cache.c b/MagickCore/cache.c index 368d228..c088e44 100644 --- a/MagickCore/cache.c +++ b/MagickCore/cache.c
@@ -2060,6 +2060,8 @@ status=ClonePixelCachePixels(clone_info,cache_info,exception); if (status != MagickFalse) { + if (cache_info->mode == ReadMode) + cache_info->nexus_info=(NexusInfo **) NULL; destroy=MagickTrue; image->cache=clone_image.cache; }