summaryrefslogtreecommitdiffstats
path: root/test/srptest.c
diff options
context:
space:
mode:
authorRussell Webb <russell.webb@intel.com>2015-06-13 16:35:55 +0200
committerRich Salz <rsalz@openssl.org>2015-06-23 13:59:15 +0200
commit2d540402aac7a05af9c99b58864d53c0201a0b42 (patch)
tree0099f9017d00969fa9a09a4c8a0d7aa990e42ec9 /test/srptest.c
parentmake update (diff)
downloadopenssl-2d540402aac7a05af9c99b58864d53c0201a0b42.tar.xz
openssl-2d540402aac7a05af9c99b58864d53c0201a0b42.zip
RT3856: Fix memory leaks in test code
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'test/srptest.c')
-rw-r--r--test/srptest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/srptest.c b/test/srptest.c
index 1d463cd782..8075218072 100644
--- a/test/srptest.c
+++ b/test/srptest.c
@@ -148,6 +148,7 @@ int main(int argc, char **argv)
ERR_remove_thread_state(NULL);
ERR_free_strings();
CRYPTO_mem_leaks(bio_err);
+ BIO_free(bio_err);
return 0;
}