projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5c31be
)
(no commit message)
author
cristy
<urban-warrior@git.imagemagick.org>
Wed, 7 Nov 2012 22:31:58 +0000
(22:31 +0000)
committer
cristy
<urban-warrior@git.imagemagick.org>
Wed, 7 Nov 2012 22:31:58 +0000
(22:31 +0000)
MagickCore/cache.c
patch
|
blob
|
history
diff --git
a/MagickCore/cache.c
b/MagickCore/cache.c
index 6d513c4410cc37f73f8c83033fd5d186626f6561..ce4cb319bca52f7bd1ac14910bdb5876d510463a 100644
(file)
--- a/
MagickCore/cache.c
+++ b/
MagickCore/cache.c
@@
-1940,7
+1940,7
@@
static Cache GetImagePixelCache(Image *image,const MagickBooleanType clone,
status=ClonePixelCachePixels(clone_info,cache_info,exception);
if (status != MagickFalse)
{
- if (cache_info->
mode == ReadMode)
+ if (cache_info->
reference_count == 1)
cache_info->nexus_info=(NexusInfo **) NULL;
destroy=MagickTrue;
image->cache=clone_image.cache;