Commit 9b5de494 authored by valenok's avatar valenok

free-ing allocated SSL mutexes

parent ea71faf7
......@@ -3960,6 +3960,9 @@ static void free_context(struct mg_context *ctx) {
if (ctx->ssl_ctx != NULL) {
SSL_CTX_free(ctx->ssl_ctx);
}
if (ssl_mutexes != NULL) {
free(ssl_mutexes);
}
// Deallocate context itself
free(ctx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment