diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2015-08-28 05:07:07 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-08-28 17:18:04 +0200 |
commit | 55500ea7c46c27a150a46832e1260891aaad8e52 (patch) | |
tree | bf39de9a96882dedcda432923886407cdaf2adcf /test/clienthellotest.c | |
parent | GH367: Fix dsa keygen for too-short seed (diff) | |
download | openssl-55500ea7c46c27a150a46832e1260891aaad8e52.tar.xz openssl-55500ea7c46c27a150a46832e1260891aaad8e52.zip |
GH354: Memory leak fixes
Fix more potential leaks in X509_verify_cert()
Fix memory leak in ClientHello test
Fix memory leak in gost2814789 test
Fix potential memory leak in PKCS7_verify()
Fix potential memory leaks in X509_add1_reject_object()
Refactor to use "goto err" in cleanup.
Signed-off-by: Rich Salz <rsalz@akamai.com>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'test/clienthellotest.c')
-rw-r--r-- | test/clienthellotest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/clienthellotest.c b/test/clienthellotest.c index acc56f84c6..318d6e84f8 100644 --- a/test/clienthellotest.c +++ b/test/clienthellotest.c @@ -213,6 +213,7 @@ int main(int argc, char *argv[]) EVP_cleanup(); CRYPTO_cleanup_all_ex_data(); CRYPTO_mem_leaks(err); + BIO_free(err); return testresult?0:1; } |