From 81d61a62faa809e6c51f5fc2b86fb0d31146fd5e Mon Sep 17 00:00:00 2001 From: Nicola Tuveri Date: Wed, 13 Mar 2019 11:38:40 +0200 Subject: [PATCH] Fix memory leak in ectest Fixes #8462 Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8466) --- test/ectest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ectest.c b/test/ectest.c index d2ad3774b5..59c7e99d8c 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); -- 2.25.1