]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 16 Feb 2014 21:08:55 +0000 (21:08 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 16 Feb 2014 21:08:55 +0000 (21:08 +0000)
MagickCore/semaphore.c

index e8b4bab7e9a7a9a06c577cdcf5418ac1b9f1c8c1..a0bec447a052b8071b393f48604577f89e5128d4 100644 (file)
@@ -261,7 +261,7 @@ MagickExport void ActivateSemaphoreInfo(SemaphoreInfo **semaphore_info)
       InitializeMagickMutex();
       LockMagickMutex();
       if (*semaphore_info == (SemaphoreInfo *) NULL)
-        *semaphore_info=AllocateSemaphoreInfo();
+        *semaphore_info=AcquireSemaphoreInfo();
       UnlockMagickMutex();
     }
 }