1
0
Fork 0
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:
Andy Green 2013-02-11 11:04:01 +08:00
parent 33fa908293
commit 4659648159

View file

@ -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