mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-02-27 04:01:45 +01:00
MINOR: acme: acme_ctx_destroy() returns upon NULL
acme_ctx_destroy() returns when its argument is NULL.
This commit is contained in:
parent
563ca94ab8
commit
b8a5270334
@ -591,6 +591,9 @@ static void acme_ctx_destroy(struct acme_ctx *ctx)
|
||||
{
|
||||
struct acme_auth *auth;
|
||||
|
||||
if (!ctx)
|
||||
return;
|
||||
|
||||
istfree(&ctx->ressources.newNonce);
|
||||
istfree(&ctx->ressources.newAccount);
|
||||
istfree(&ctx->ressources.newOrder);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user