mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-04 15:33:47 +02:00
BUG/MINOR: ssl: Free key_base from global_ssl structure during deinit
The key_base field of the global_ssl structure is an strdup'ed field (when set) which was never free'd during deinit. This patch can be backported up to branch 3.0.
This commit is contained in:
committed by
William Lallemand
parent
9bc6a0349d
commit
b706f2d092
@@ -7965,6 +7965,7 @@ static void ssl_sock_clt_sni_free_func(void *parent, void *ptr, CRYPTO_EX_DATA *
|
||||
static void ssl_free_global(void)
|
||||
{
|
||||
ha_free(&global_ssl.crt_base);
|
||||
ha_free(&global_ssl.key_base);
|
||||
ha_free(&global_ssl.ca_base);
|
||||
|
||||
ha_free(&global_ssl.issuers_chain_path);
|
||||
|
||||
Reference in New Issue
Block a user