mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-03-19 05:51:10 +01:00
BUG/MINOR: acme: acme_ctx_destroy() leaks auth->dns
365a696 ("MINOR: acme: emit a log for DNS-01 challenge response")
introduces the auth->dns member which is istdup(). But this member is
never free, instead auth->token was freed twice by mistake.
Must be backported to 3.2.
This commit is contained in:
parent
0f95e73032
commit
e63722fed4
@ -878,7 +878,7 @@ static void acme_ctx_destroy(struct acme_ctx *ctx)
|
||||
istfree(&auth->auth);
|
||||
istfree(&auth->chall);
|
||||
istfree(&auth->token);
|
||||
istfree(&auth->token);
|
||||
istfree(&auth->dns);
|
||||
next = auth->next;
|
||||
free(auth);
|
||||
auth = next;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user