mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-22 09:20:43 -05:00
BUG/MINOR: ssl: fix leak in ssl-f-use parser upon error
cfg_crt_node->filename is leaked on the error path in the ssl-f-use configuration parser. Could be backported as far as 3.2
This commit is contained in:
parent
86df0e206e
commit
e0d1cdff6a
1 changed files with 1 additions and 0 deletions
|
|
@ -2598,6 +2598,7 @@ error:
|
|||
free(err);
|
||||
|
||||
list_for_each_entry_safe(n, r, &cur_crtlist, list) {
|
||||
ha_free(&n->filename);
|
||||
ckch_conf_clean(n->ckch_conf);
|
||||
ha_free(&n->ckch_conf);
|
||||
ssl_sock_free_ssl_conf(n->ssl_conf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue