]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 24 Jan 2014 00:08:31 +0000 (00:08 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 24 Jan 2014 00:08:31 +0000 (00:08 +0000)
MagickCore/semaphore.c

index 3290a99e222354a4367a7e1c80269efb29e0e2c2..109db5a6c6ae41b32316c97f6643399190162283 100644 (file)
@@ -293,6 +293,7 @@ MagickExport void DestroySemaphoreInfo(SemaphoreInfo **semaphore_info)
   assert(semaphore_info != (SemaphoreInfo **) NULL);
   assert((*semaphore_info) != (SemaphoreInfo *) NULL);
   assert((*semaphore_info)->signature == MagickSignature);
+  InitializeMagickMutex();
   LockMagickMutex();
 #if defined(MAGICKCORE_OPENMP_SUPPORT)
   omp_destroy_lock((omp_lock_t *) &(*semaphore_info)->mutex);