summaryrefslogtreecommitdiffstats
path: root/apps/ocsp.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-01-31 22:08:12 +0100
committerRichard Levitte <levitte@openssl.org>2018-02-01 07:10:48 +0100
commit4e525a0b4db2b11bee15a485b6ed6622ca8948f1 (patch)
tree65767d11a958f707991fa33601a007aeae3805f2 /apps/ocsp.c
parent71bb86f0dc72c49d9efc098a71a6654004a2035a (diff)
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)
Diffstat (limited to 'apps/ocsp.c')
-rw-r--r--apps/ocsp.c2
1 files changed, 1 insertions, 1 deletions
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);