Fix memory leak (reported by Boris Berezovsky)

--HG--
extra : convert_revision : 22fe832906de79fb9c641451acce4551bbce9a0c
This commit is contained in:
Matt Johnston 2005-05-04 15:22:40 +00:00
parent 8bc7b0ff5a
commit 347e8bd839

2
dss.c
View File

@ -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 */