aboutsummaryrefslogtreecommitdiff
path: root/test/ectest.c
diff options
context:
space:
mode:
authorNicola Tuveri <nic.tuv@gmail.com>2019-03-13 11:38:40 +0200
committerNicola Tuveri <nic.tuv@gmail.com>2019-03-13 19:06:43 +0200
commit81d61a62faa809e6c51f5fc2b86fb0d31146fd5e (patch)
treeed0e1e69881b51e6921c048c4684a2e8ce54d651 /test/ectest.c
parentd3620841cc39aaa4a3d75ea32e94ccd110b5bef4 (diff)
downloadopenssl-81d61a62faa809e6c51f5fc2b86fb0d31146fd5e.zip
openssl-81d61a62faa809e6c51f5fc2b86fb0d31146fd5e.tar.gz
openssl-81d61a62faa809e6c51f5fc2b86fb0d31146fd5e.tar.bz2
Fix memory leak in ectest
Fixes #8462 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8466)
Diffstat (limited to 'test/ectest.c')
-rw-r--r--test/ectest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ectest.c b/test/ectest.c
index d2ad377..59c7e99 100644
--- a/test/ectest.c
+++ b/test/ectest.c
@@ -1503,6 +1503,7 @@ static int underflow_test(void)
BN_CTX_end(ctx);
EC_POINT_free(P);
EC_POINT_free(Q);
+ EC_POINT_free(R);
EC_GROUP_free(grp);
BN_CTX_free(ctx);