commit | 165b609d7e344c03f8324506c4337beff451748e | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Mon Oct 26 13:52:10 2009 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Mon Oct 26 13:52:10 2009 +0000 |
tree | 7e8b295f084e8c2f6a574d033da226f66db6383a | |
parent | e27462f8c3fb42714ab7c14c8f1c78f7a023252b [diff] [blame] |
diff --git a/magick/cache.c b/magick/cache.c index a236deb..d90c754 100644 --- a/magick/cache.c +++ b/magick/cache.c
@@ -285,8 +285,7 @@ */ MagickExport MagickBooleanType CacheComponentGenesis(void) { - assert(cache_semaphore == (SemaphoreInfo *) NULL); - cache_semaphore=AllocateSemaphoreInfo(); + AcquireSemaphoreInfo(&cache_semaphore); return(MagickTrue); }