mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +08:00
free-ing allocated SSL mutexes
This commit is contained in:
parent
ea71faf71d
commit
9b5de49437
@ -3960,6 +3960,9 @@ static void free_context(struct mg_context *ctx) {
|
|||||||
if (ctx->ssl_ctx != NULL) {
|
if (ctx->ssl_ctx != NULL) {
|
||||||
SSL_CTX_free(ctx->ssl_ctx);
|
SSL_CTX_free(ctx->ssl_ctx);
|
||||||
}
|
}
|
||||||
|
if (ssl_mutexes != NULL) {
|
||||||
|
free(ssl_mutexes);
|
||||||
|
}
|
||||||
|
|
||||||
// Deallocate context itself
|
// Deallocate context itself
|
||||||
free(ctx);
|
free(ctx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user