mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue