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:
parent
3b025760fc
commit
0b673fd02d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user