X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=crypto%2Fcmp%2Fcmp_ctx.c;h=714157a9643dc9ccf43bab0768690a2aea4220a8;hb=235595c402bd7815f07f1f3f3babe9fcc247a206;hp=12492336ef63265de7b874cc0f150c36fefb65d7;hpb=ebf3006917e0e968af4a5d5c2c6379c5b866f801;p=thirdparty%2Fopenssl.git diff --git a/crypto/cmp/cmp_ctx.c b/crypto/cmp/cmp_ctx.c index 12492336ef..714157a964 100644 --- a/crypto/cmp/cmp_ctx.c +++ b/crypto/cmp/cmp_ctx.c @@ -80,7 +80,7 @@ int OSSL_CMP_CTX_set1_untrusted_certs(OSSL_CMP_CTX *ctx, STACK_OF(X509) *certs) sk_X509_pop_free(ctx->untrusted_certs, X509_free); ctx->untrusted_certs = untrusted_certs; return 1; -err: + err: sk_X509_pop_free(untrusted_certs, X509_free); return 0; }