X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshbn.c;h=ec7d3a6d5de57c64a0e341fd87ccb63e853904e9;hb=0cc6fb8bfea07360afeac83ba67aceffb56499c8;hp=a2067831baed6011928d826b3aa7e9c36638885a;hpb=cb1df53360b3402096f67d8dd317046c401e3eca;p=PuTTY.git diff --git a/sshbn.c b/sshbn.c index a2067831..ec7d3a6d 100644 --- a/sshbn.c +++ b/sshbn.c @@ -1642,6 +1642,10 @@ Bignum modinv(Bignum number, Bignum modulus) * Found a common factor between the inputs, so we cannot * return a modular inverse at all. */ + freebn(b); + freebn(a); + freebn(xp); + freebn(x); return NULL; }