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 /ecc.c | |
parent | 3113932151b7d2358565e41c3f81f230436126c9 (diff) |
Fix some memory leaks in ecc code
Diffstat (limited to 'ecc.c')
-rw-r--r-- | ecc.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -86,11 +86,6 @@ static int ecc_is_point(ecc_key *key) { mp_int *prime, *b, *t1, *t2; int err; - - prime = m_malloc(sizeof(mp_int)); - b = m_malloc(sizeof(mp_int)); - t1 = m_malloc(sizeof(mp_int)); - t2 = m_malloc(sizeof(mp_int)); m_mp_alloc_init_multi(&prime, &b, &t1, &t2, NULL); |