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 | 63d56ad4e0a004c793da69da8d21177c3fc526f4 (patch) | |
tree | ca830de9381318f3e388248011fe788f131c687b | |
parent | 0b12c3aff0afd2a7948f793bada981860ac8f5c3 (diff) | |
download | dropbear-63d56ad4e0a004c793da69da8d21177c3fc526f4.tar.gz |
Fix memory leak of ecdsa structure, found by Coverity
-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; } |