mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
valgrind free context allocations
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
33fa908293
commit
4659648159
1 changed files with 5 additions and 0 deletions
|
@ -1079,6 +1079,11 @@ libwebsocket_context_destroy(struct libwebsocket_context *context)
|
|||
SSL_CTX_free(context->ssl_client_ctx);
|
||||
#endif
|
||||
|
||||
if (context->fds)
|
||||
free(context->fds);
|
||||
if (context->lws_lookup)
|
||||
free(context->lws_lookup);
|
||||
|
||||
free(context);
|
||||
|
||||
#ifdef WIN32
|
||||
|
|
Loading…
Add table
Reference in a new issue