From 8ed5b965872e3b0cd6605f37bc8fe9f2819ce03c Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Fri, 4 Oct 2019 17:24:39 +0200 Subject: [PATCH] BUG/MINOR: ssl: free the sni_keytype nodes This patch frees the sni_keytype nodes once the sni_ctxs have been allocated in ssl_sock_load_multi_ckchn(); Could be backported in every version using the multi-cert SSL bundles. --- src/ssl_sock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ssl_sock.c b/src/ssl_sock.c index b9ca662462..a957d3e9cd 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -3361,6 +3361,7 @@ end: while (node) { next = ebmb_next(node); ebmb_delete(node); + free(ebmb_entry(node, struct sni_keytype, name)); node = next; } -- 2.47.3