From 26578be1a792a600091d936139252767d2c25e8a Mon Sep 17 00:00:00 2001 From: Radim Smat Date: Wed, 3 Mar 2021 15:51:22 +0100 Subject: [PATCH] Fixed CID 583215. --- src/ocsp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ocsp.c b/src/ocsp.c index 53f44bbbf..1b7395895 100644 --- a/src/ocsp.c +++ b/src/ocsp.c @@ -621,6 +621,7 @@ WOLFSSL_OCSP_CERTID* wolfSSL_OCSP_cert_to_id( if (certStatus) XFREE(certStatus, NULL, DYNAMIC_TYPE_OPENSSL); + wolfSSL_CertManagerFree(cm); return NULL; }