mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-12 16:47:42 -05:00
Fix a memory leak in key generation.
[originally from svn r6587]
This commit is contained in:
@ -1382,6 +1382,7 @@ Bignum primegen(int bits, int modulus, int residue, Bignum factor,
|
|||||||
* It didn't. Therefore, w is a witness for the
|
* It didn't. Therefore, w is a witness for the
|
||||||
* compositeness of p.
|
* compositeness of p.
|
||||||
*/
|
*/
|
||||||
|
freebn(wqp);
|
||||||
freebn(p);
|
freebn(p);
|
||||||
freebn(pm1);
|
freebn(pm1);
|
||||||
freebn(q);
|
freebn(q);
|
||||||
|
Reference in New Issue
Block a user