1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Fix a memory leak in key generation.

[originally from svn r6587]
This commit is contained in:
Jacob Nevins 2006-02-27 23:55:07 +00:00
parent 3b025760fc
commit 0b673fd02d

View File

@ -1382,6 +1382,7 @@ Bignum primegen(int bits, int modulus, int residue, Bignum factor,
* It didn't. Therefore, w is a witness for the
* compositeness of p.
*/
freebn(wqp);
freebn(p);
freebn(pm1);
freebn(q);