diff options
author | Richard Levitte <levitte@openssl.org> | 2018-01-31 22:08:12 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-02-01 07:10:48 +0100 |
commit | 4e525a0b4db2b11bee15a485b6ed6622ca8948f1 (patch) | |
tree | 65767d11a958f707991fa33601a007aeae3805f2 /apps | |
parent | Make sure that apps/openssl prefixes its output with '# ' during tests (diff) | |
download | openssl-4e525a0b4db2b11bee15a485b6ed6622ca8948f1.tar.xz openssl-4e525a0b4db2b11bee15a485b6ed6622ca8948f1.zip |
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')
-rw-r--r-- | apps/ocsp.c | 2 |
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); |