diff options
Diffstat (limited to 'threading_pthread.c')
-rw-r--r-- | threading_pthread.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/threading_pthread.c b/threading_pthread.c index 3b04e7c8..96e464b6 100644 --- a/threading_pthread.c +++ b/threading_pthread.c @@ -90,8 +90,6 @@ mutex_create (void) { void mutex_free (uintptr_t _mtx) { pthread_mutex_t *mtx = (pthread_mutex_t *)_mtx; - mutex_lock (_mtx); - mutex_unlock (_mtx); pthread_mutex_destroy (mtx); free (mtx); } |