MINOR: acme: acme_ctx_destroy() returns upon NULL

acme_ctx_destroy() returns when its argument is NULL.
This commit is contained in:
William Lallemand 2025-04-30 17:17:58 +02:00
parent 563ca94ab8
commit b8a5270334

View File

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