From 347e8bd83917f5f20b2b5724a87682cfe8a237fa Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Wed, 4 May 2005 15:22:40 +0000 Subject: [PATCH] Fix memory leak (reported by Boris Berezovsky) --HG-- extra : convert_revision : 22fe832906de79fb9c641451acce4551bbce9a0c --- dss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dss.c b/dss.c index 7b3d9d4..5cf018d 100644 --- a/dss.c +++ b/dss.c @@ -419,7 +419,7 @@ void buf_put_dss_sign(buffer* buf, dss_key *key, const unsigned char* data, 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 */