X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/de81309dd32ec364fcd1fe351beb69859574a3ba..de2eadb094ac7359227015ae46771b54c6adf61f:/sshbn.c 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; }