summaryrefslogtreecommitdiff
path: root/ecdsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'ecdsa.c')
-rw-r--r--ecdsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ecdsa.c b/ecdsa.c
index 195121f..0396014 100644
--- a/ecdsa.c
+++ b/ecdsa.c
@@ -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;
}