diff dss.c @ 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 161557a9dde8
children c9483550701b
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 */