From: cristy Date: Sun, 14 Jun 2015 20:41:44 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~895 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4dda2ff8d61eba13aa9496313e4bb10a1290d3d6;p=imagemagick --- diff --git a/MagickCore/cache.c b/MagickCore/cache.c index ec6fa6045..4a3233be8 100644 --- a/MagickCore/cache.c +++ b/MagickCore/cache.c @@ -575,7 +575,7 @@ static MagickBooleanType ClonePixelCacheRepository( clone_info->metacontent_extent*sizeof(unsigned char)); return(MagickTrue); } - if ((cache_info->type == DiskCache) && (cache_info->type == DiskCache)) + if ((cache_info->type == DiskCache) && (clone_info->type == DiskCache)) return(ClonePixelCacheOnDisk(cache_info,clone_info,exception)); } /*