From 425e03ba9bc05c2975bde07c95fbec7670751b37 Mon Sep 17 00:00:00 2001 From: rpj Date: Tue, 6 Apr 2004 16:34:50 +0000 Subject: Close memory leak. --- ptw32_threadDestroy.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ptw32_threadDestroy.c') diff --git a/ptw32_threadDestroy.c b/ptw32_threadDestroy.c index 868b3f3..be6542a 100644 --- a/ptw32_threadDestroy.c +++ b/ptw32_threadDestroy.c @@ -70,6 +70,7 @@ ptw32_threadDestroy (pthread_t thread) } (void) pthread_mutex_destroy(&threadCopy.cancelLock); + (void) pthread_mutex_destroy(&threadCopy.threadLock); #if ! defined (__MINGW32__) || defined (__MSVCRT__) /* -- cgit v1.2.3