From: Nicola Tuveri Date: Wed, 13 Mar 2019 09:38:40 +0000 (+0200) Subject: Fix memory leak in ectest X-Git-Tag: openssl-3.0.0-alpha1~2371 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=81d61a62faa809e6c51f5fc2b86fb0d31146fd5e Fix memory leak in ectest Fixes #8462 Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8466) --- 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);