diff --git a/nassl/_nassl/nassl_OCSP_RESPONSE.c b/nassl/_nassl/nassl_OCSP_RESPONSE.c index f316d29..dbc70a0 100755 --- a/nassl/_nassl/nassl_OCSP_RESPONSE.c +++ b/nassl/_nassl/nassl_OCSP_RESPONSE.c @@ -139,6 +139,7 @@ static PyObject* nassl_OCSP_RESPONSE_basic_verify(nassl_OCSP_RESPONSE_Object *se verifyRes = OCSP_basic_verify(basicResp, NULL, trustedCAs, 0); OCSP_BASICRESP_free(basicResp); + X509_STORE_free(trustedCAs); if (verifyRes <= 0) { return raise_OpenSSL_error();