mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 07:28:13 +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) {
|
||||
SSL_CTX_free(ctx->ssl_ctx);
|
||||
}
|
||||
if (ssl_mutexes != NULL) {
|
||||
free(ssl_mutexes);
|
||||
}
|
||||
|
||||
// Deallocate context itself
|
||||
free(ctx);
|
||||
|
Loading…
x
Reference in New Issue
Block a user