changeset 186:4349ed1b3f38

Fix memory leak (reported by Boris Berezovsky)
author Matt Johnston <matt@ucc.asn.au>
date Wed, 04 May 2005 15:22:40 +0000
parents 5162f4e4021c
children c44df7123b0a
files dss.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dss.c	Fri Apr 22 14:52:27 2005 +0000
+++ b/dss.c	Wed May 04 15:22:40 2005 +0000
@@ -419,7 +419,7 @@
 	mp_clear(&dss_s);
 	buf_incrwritepos(buf, writelen);
 
-	mp_clear_multi(&dss_k, &dss_temp1, &dss_temp1, &dss_r, &dss_s,
+	mp_clear_multi(&dss_k, &dss_temp1, &dss_temp2, &dss_r, &dss_s,
 			&dss_m, NULL);
 	
 	/* create the signature to return */