commit | 8ed5b965872e3b0cd6605f37bc8fe9f2819ce03c | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Fri Oct 04 17:24:39 2019 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Fri Oct 11 17:32:02 2019 +0200 |
tree | c7e89d030b78cf209fd7860ff110e694460d0a38 | |
parent | fe49bb3d0c046628d67d57da15a7034cc2230432 [diff] |
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.
diff --git a/src/ssl_sock.c b/src/ssl_sock.c index b9ca662..a957d3e 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c
@@ -3361,6 +3361,7 @@ while (node) { next = ebmb_next(node); ebmb_delete(node); + free(ebmb_entry(node, struct sni_keytype, name)); node = next; }