We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9010544 + 13ebc5b commit ad3ad56Copy full SHA for ad3ad56
1 file changed
src/ssl_p7p12.c
@@ -292,6 +292,7 @@ WOLFSSL_STACK* wolfSSL_PKCS7_get0_signers(PKCS7* pkcs7, WOLFSSL_STACK* certs,
292
}
293
294
if (wolfSSL_sk_X509_push(signers, x509) <= 0) {
295
+ wolfSSL_X509_free(x509);
296
wolfSSL_sk_X509_pop_free(signers, NULL);
297
return NULL;
298
0 commit comments