Mercurial > dropbear
diff ecdsa.c @ 1058:063c38ea622b
Fix some memory leaks in ecc code
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 01 Mar 2015 22:44:36 +0800 |
parents | c0b1b7eb5c84 |
children | c339657c9758 |
line wrap: on
line diff
--- a/ecdsa.c Sat Feb 28 23:49:39 2015 +0800 +++ b/ecdsa.c Sun Mar 01 22:44:36 2015 +0800 @@ -409,7 +409,7 @@ out: ltc_ecc_del_point(mG); ltc_ecc_del_point(mQ); - mp_clear_multi(r, s, v, w, u1, u2, p, e, m, NULL); + ltc_deinit_multi(r, s, v, w, u1, u2, p, e, m, NULL); if (mp != NULL) { ltc_mp.montgomery_deinit(mp); }