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

index 927e998378f3bf743f978af004df896b07742580..25c623b1dfb54caf18f3baf5c30911879408ef1e 100644 (file)
@@ -299,8 +299,8 @@ MagickExport void DestroySemaphoreInfo(SemaphoreInfo **semaphore_info)
     status=pthread_mutex_destroy(&(*semaphore_info)->mutex);
     if (status != 0)
       {
-        errno=status;
-        ThrowFatalException(ResourceLimitFatalError,"UnableToDestroySemaphore");
+        perror("unable to destroy semaphore");
+        _exit(1);
       }
   }
 #elif defined(MAGICKCORE_HAVE_WINTHREADS)