]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 15 Feb 2010 00:28:37 +0000 (00:28 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 15 Feb 2010 00:28:37 +0000 (00:28 +0000)
magick/cache.c

index 98a2cf5e2096f4ff0aeea46e5cec41d8f00f0da9..8379c66b917282739df487954cea050bc967515b 100644 (file)
@@ -1616,11 +1616,11 @@ MagickExport Cache DestroyPixelCache(Cache cache)
       cache_info->number_threads);
   if (cache_info->random_info != (RandomInfo *) NULL)
     cache_info->random_info=DestroyRandomInfo(cache_info->random_info);
-  cache_info->signature=(~MagickSignature);
   if (cache_info->disk_semaphore != (SemaphoreInfo *) NULL)
     DestroySemaphoreInfo(&cache_info->disk_semaphore);
   if (cache_info->semaphore != (SemaphoreInfo *) NULL)
     DestroySemaphoreInfo(&cache_info->semaphore);
+  cache_info->signature=(~MagickSignature);
   cache_info=(CacheInfo *) RelinquishAlignedMemory(cache_info);
   cache=(Cache) NULL;
   return(cache);