Merge pull request #1810 in FS/freeswitch from bugfix/FS-12039-core-fix-memory-leak-on-ssl-shutdown to master

* commit 'f00d285b5eef6c697ba8bc3ecfde82fc7c2dba65':
  FS-12039: [Core] Fix memory leak on ssl shutdown.
This commit is contained in:
Christopher Rienzo 2019-09-06 08:54:54 -05:00
commit 468e2e06d1
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)