aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinclude/compat/pthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/compat/pthread.h b/include/compat/pthread.h
index 223ad83..1ab011c 100755
--- a/include/compat/pthread.h
+++ b/include/compat/pthread.h
@@ -106,6 +106,7 @@ static inline int
106pthread_mutex_destroy(pthread_mutex_t *mutex) 106pthread_mutex_destroy(pthread_mutex_t *mutex)
107{ 107{
108 DeleteCriticalSection(mutex->lock); 108 DeleteCriticalSection(mutex->lock);
109 free(mutex->lock);
109 return 0; 110 return 0;
110} 111}
111 112