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:
commit
468e2e06d1
|
@ -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