]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <mikayla-grace@urban-warrior.org>
Mon, 22 Apr 2019 11:21:19 +0000 (07:21 -0400)
committerCristy <mikayla-grace@urban-warrior.org>
Mon, 22 Apr 2019 11:21:19 +0000 (07:21 -0400)
MagickCore/log.c

index 0efab8ea2ffc8918c2d8508138bae05b9fa04689..33f2815ebfe5199ae8ac18f51ff16e47859d31e1 100644 (file)
@@ -894,8 +894,6 @@ static void *DestroyLogElement(void *log_info)
     p->filename=DestroyString(p->filename);
   if (p->event_semaphore == (SemaphoreInfo *) NULL)
     ActivateSemaphoreInfo(&p->event_semaphore);
-  LockSemaphoreInfo(p->event_semaphore);
-  UnlockSemaphoreInfo(p->event_semaphore);
   RelinquishSemaphoreInfo(&p->event_semaphore);
   p=(LogInfo *) RelinquishMagickMemory(p);
   return((void *) NULL);