pthreads: fix context destroy api ref

This commit is contained in:
angelfromhell 2017-12-20 10:42:23 +08:00 committed by Andy Green
parent d58d749b30
commit 1e7f5b5b2b

View file

@ -1790,7 +1790,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);