Fix memory leak in ectest

Fixes #8462

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8466)
This commit is contained in:
Nicola Tuveri 2019-03-13 11:38:40 +02:00
parent d3620841cc
commit 81d61a62fa

View File

@ -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);