Skip to content
Snippets Groups Projects
Commit 347e8bd8 authored by Matt Johnston's avatar Matt Johnston
Browse files

Fix memory leak (reported by Boris Berezovsky)

--HG--
extra : convert_revision : 22fe832906de79fb9c641451acce4551bbce9a0c
parent 8bc7b0ff
No related merge requests found
...@@ -419,7 +419,7 @@ void buf_put_dss_sign(buffer* buf, dss_key *key, const unsigned char* data, ...@@ -419,7 +419,7 @@ void buf_put_dss_sign(buffer* buf, dss_key *key, const unsigned char* data,
mp_clear(&dss_s); mp_clear(&dss_s);
buf_incrwritepos(buf, writelen); 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); &dss_m, NULL);
/* create the signature to return */ /* create the signature to return */
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment