diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-01-28 22:29:18 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-01-28 22:29:18 +0800 |
commit | 9bb9b4829d6dd97028adf1c90eb4d66977429a2c (patch) | |
tree | 5a2602397b90f19e008e759ce34367e0cbc1bc77 /ecdsa.c | |
parent | e25c297c3ccd396d0c3d41bd7e7d079c528d6353 (diff) |
Fix memory leak of ecdsa structure, found by Coverity
Diffstat (limited to 'ecdsa.c')
-rw-r--r-- | ecdsa.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -131,6 +131,7 @@ ecc_key *buf_get_ecdsa_priv_key(buffer *buf) { if (buf_getmpint(buf, new_key->k) != DROPBEAR_SUCCESS) { ecc_free(new_key); + m_free(new_key); return NULL; } |