FS-12039: [Core] Fix memory leak on ssl shutdown.
This commit is contained in:
parent
d0c6b30c15
commit
f00d285b5e
|
@ -91,6 +91,10 @@ SWITCH_DECLARE(void) switch_ssl_destroy_ssl_locks(void)
|
||||||
OPENSSL_free(ssl_mutexes);
|
OPENSSL_free(ssl_mutexes);
|
||||||
ssl_count--;
|
ssl_count--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ssl_pool) {
|
||||||
|
switch_core_destroy_memory_pool(&ssl_pool);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static const EVP_MD *get_evp_by_name(const char *name)
|
static const EVP_MD *get_evp_by_name(const char *name)
|
||||||
|
|
Loading…
Reference in New Issue