FS-12039: [Core] Fix memory leak on ssl shutdown.

This commit is contained in:
Andrey Volk 2019-09-06 17:50:16 +04:00
parent d0c6b30c15
commit f00d285b5e
1 changed files with 4 additions and 0 deletions

View File

@ -91,6 +91,10 @@ SWITCH_DECLARE(void) switch_ssl_destroy_ssl_locks(void)
OPENSSL_free(ssl_mutexes);
ssl_count--;
}
if (ssl_pool) {
switch_core_destroy_memory_pool(&ssl_pool);
}
}
static const EVP_MD *get_evp_by_name(const char *name)