revocation: Fix memory leak if nonce in OCSP response doesn't match

This commit is contained in:
Tobias Brunner
2026-04-02 08:17:04 +02:00
parent 1e1dd2976d
commit 7b0190cb26
@@ -269,6 +269,7 @@ METHOD(revocation_fetcher_t, fetch_ocsp, certificate_t*,
ocsp_response->get_nonce(ocsp_response)))
{
DBG1(DBG_CFG, "nonce in ocsp response doesn't match");
response->destroy(response);
request->destroy(request);
return NULL;
}