mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-20 11:19:56 +00:00
free-ing allocated SSL mutexes
This commit is contained in:
1 parent
ea71faf71d
commit
9b5de49437
1 file changed
+3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user