mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 06:38:37 -05: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
|
* 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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user