changeset 1412:a54b22f4058d

fix missing arglist NULL terminator
author Matt Johnston <matt@ucc.asn.au>
date Thu, 15 Jun 2017 08:00:07 +0800
parents 771e4a7051e0
children 33d90d219e03
files dss.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dss.c	Wed Jun 14 23:31:15 2017 +0800
+++ b/dss.c	Thu Jun 15 08:00:07 2017 +0800
@@ -94,7 +94,7 @@
 	m_mp_alloc_init_multi(&key->x, NULL);
 	ret = buf_getmpint(buf, key->x);
 	if (ret == DROPBEAR_FAILURE) {
-		m_mp_free_multi(&key->x);
+		m_mp_free_multi(&key->x, NULL);
 	}
 
 	return ret;