From: Nicola Tuveri Date: Wed, 13 Mar 2019 09:38:40 +0000 (+0200) Subject: Fix memory leak in ectest X-Git-Tag: OpenSSL_1_1_1c~103 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=45956011b9a5b0e7a2170d4c4f5f866d00702450;p=oweals%2Fopenssl.git Fix memory leak in ectest Fixes #8462 (cherry picked from commit 81d61a62faa809e6c51f5fc2b86fb0d31146fd5e) Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8466) --- diff --git a/test/ectest.c b/test/ectest.c index afe8615989..9cd8409aed 100644 --- a/test/ectest.c +++ b/test/ectest.c @@ -1466,6 +1466,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);