diff options
Diffstat (limited to 'crypto/ec/ec_montgomery.c')
-rw-r--r-- | crypto/ec/ec_montgomery.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/ec/ec_montgomery.c b/crypto/ec/ec_montgomery.c index b1c6fe89..0e5120c7 100644 --- a/crypto/ec/ec_montgomery.c +++ b/crypto/ec/ec_montgomery.c @@ -247,6 +247,9 @@ err: if (mont != NULL) { BN_MONT_CTX_free(mont); } + if (one != NULL) { + BN_free(one); + } return ret; } |