From 4e525a0b4db2b11bee15a485b6ed6622ca8948f1 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 31 Jan 2018 22:08:12 +0100 Subject: [PATCH] ocsp.c doesn't free the whole output chain, maybe causing a memory leak Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/5224) --- apps/ocsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ocsp.c b/apps/ocsp.c index 122aee6770..bd16a5b869 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -730,7 +730,7 @@ redo_accept: 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); -- 2.25.1