diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-03-01 22:44:36 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-03-01 22:44:36 +0800 |
commit | 3317916111c2fe05d18ff02fdde0f33cffa5d3e5 (patch) | |
tree | bdc6c8ee92a9009f9f48006beafbbf26f10d3727 /ecdsa.c | |
parent | 3113932151b7d2358565e41c3f81f230436126c9 (diff) |
Fix some memory leaks in ecc code
Diffstat (limited to 'ecdsa.c')
-rw-r--r-- | ecdsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -409,7 +409,7 @@ int buf_ecdsa_verify(buffer *buf, ecc_key *key, buffer *data_buf) { 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); } |