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:
William Lallemand 2026-02-16 15:56:21 +01:00
parent 86df0e206e
commit e0d1cdff6a

View file

@ -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);