diff options
author | Miroslav Franc <mfranc@gmx.com> | 2016-07-14 17:14:08 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-07-16 12:32:34 -0400 |
commit | 563c1ec61848073e3739dd126cf1950e338c820d (patch) | |
tree | bd464f937e002f73ba6b9b8976f2dbc6b387e093 /crypto/ec/ecp_mont.c | |
parent | 28e90f69fbcdcd3c06359a53adceb2dbdfaba614 (diff) |
fix memory leaks
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1313)
Diffstat (limited to 'crypto/ec/ecp_mont.c')
-rw-r--r-- | crypto/ec/ecp_mont.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ec/ecp_mont.c b/crypto/ec/ecp_mont.c index a9c6040937..994cc1d0ff 100644 --- a/crypto/ec/ecp_mont.c +++ b/crypto/ec/ecp_mont.c @@ -178,6 +178,7 @@ int ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p, } err: + BN_free(one); BN_CTX_free(new_ctx); BN_MONT_CTX_free(mont); return ret; |