mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-08 08:07:10 +02:00
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.
This commit is contained in:
parent
fe49bb3d0c
commit
8ed5b96587
@ -3361,6 +3361,7 @@ static int ssl_sock_load_multi_ckchs(const char *path, struct ckch_store *ckchs,
|
|||||||
while (node) {
|
while (node) {
|
||||||
next = ebmb_next(node);
|
next = ebmb_next(node);
|
||||||
ebmb_delete(node);
|
ebmb_delete(node);
|
||||||
|
free(ebmb_entry(node, struct sni_keytype, name));
|
||||||
node = next;
|
node = next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user