diff options
-rw-r--r-- | toxcore/mono_time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/mono_time.c b/toxcore/mono_time.c index 6325ed3d..fd29dff5 100644 --- a/toxcore/mono_time.c +++ b/toxcore/mono_time.c | |||
@@ -139,7 +139,7 @@ Mono_Time *mono_time_new(void) | |||
139 | void mono_time_free(Mono_Time *mono_time) | 139 | void mono_time_free(Mono_Time *mono_time) |
140 | { | 140 | { |
141 | #ifdef OS_WIN32 | 141 | #ifdef OS_WIN32 |
142 | pthread_mutex_destroy(&mono_time->last_clock_lock, nullptr); | 142 | pthread_mutex_destroy(&mono_time->last_clock_lock); |
143 | #endif | 143 | #endif |
144 | pthread_rwlock_destroy(mono_time->time_update_lock); | 144 | pthread_rwlock_destroy(mono_time->time_update_lock); |
145 | free(mono_time->time_update_lock); | 145 | free(mono_time->time_update_lock); |