ocsp.c doesn't free the whole output chain, maybe causing a memory leak Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5224)
diff --git a/apps/ocsp.c b/apps/ocsp.c index 122aee6..bd16a5b 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c
@@ -730,7 +730,7 @@ free_index(rdb); BIO_free_all(cbio); BIO_free_all(acbio); - BIO_free(out); + BIO_free_all(out); OCSP_REQUEST_free(req); OCSP_RESPONSE_free(resp); OCSP_BASICRESP_free(bs);