From: cristy Date: Fri, 18 Jan 2013 00:41:36 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4418 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f948217e6345f514998e92a3c28998ed2ac788b;p=imagemagick --- diff --git a/MagickCore/semaphore.c b/MagickCore/semaphore.c index 927e99837..25c623b1d 100644 --- a/MagickCore/semaphore.c +++ b/MagickCore/semaphore.c @@ -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)