mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-11 06:43:42 -05:00
BUG/MINOR: ssl: Clear the ckch instance when deleting a crt-list line
When deleting a crt-list line through a "del ssl crt-list" call on the CLI, we ended up free'ing the corresponding ckch instances without fully clearing their contents. It left some dangling references on other objects because the attache SSL_CTX was not deleted, as well as all the ex_data referenced by it (OCSP responses for instance). This patch can be backported up to branch 2.4.
This commit is contained in:
parent
28e78a0a74
commit
23cab33b67
1 changed files with 1 additions and 1 deletions
|
|
@ -1530,7 +1530,7 @@ static int cli_parse_del_crtlist(char **args, char *payload, struct appctx *appc
|
|||
LIST_DELETE(&link_ref->list);
|
||||
free(link_ref);
|
||||
}
|
||||
free(inst);
|
||||
ckch_inst_free(inst);
|
||||
}
|
||||
|
||||
crtlist_free_filters(entry->filters);
|
||||
|
|
|
|||
Loading…
Reference in a new issue