summaryrefslogtreecommitdiff
path: root/ptw32_threadDestroy.c
diff options
context:
space:
mode:
authorrpj <rpj>2004-04-06 16:34:50 +0000
committerrpj <rpj>2004-04-06 16:34:50 +0000
commit425e03ba9bc05c2975bde07c95fbec7670751b37 (patch)
tree5079f22f34c279970d2fc5cc35d057c4022c505e /ptw32_threadDestroy.c
parent3c54879a28c4cdbef9dbd59246b7de8c0536dabc (diff)
Close memory leak.
Diffstat (limited to 'ptw32_threadDestroy.c')
-rw-r--r--ptw32_threadDestroy.c1
1 files changed, 1 insertions, 0 deletions
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__)
/*