summaryrefslogtreecommitdiff
path: root/thirdparty/lws/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/lws/context.c')
-rw-r--r--thirdparty/lws/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/lws/context.c b/thirdparty/lws/context.c
index f67476b1e3..9f221f50f1 100644
--- a/thirdparty/lws/context.c
+++ b/thirdparty/lws/context.c
@@ -1621,7 +1621,7 @@ lws_context_destroy2(struct lws_context *context)
lws_check_deferred_free(context, 1);
#if LWS_MAX_SMP > 1
- pthread_mutex_destroy(&context->lock, NULL);
+ pthread_mutex_destroy(&context->lock);
#endif
lws_free(context);