diff --git a/sshprime.c b/sshprime.c index 4d79aacd..070eb98a 100644 --- a/sshprime.c +++ b/sshprime.c @@ -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);