X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/736cc6d131e571cd9a0d3f2b5b5dc9ab493d207a..eecca84d87d0b378a6a0af7f7651d0b9dc1514e9:/sshbn.c diff --git a/sshbn.c b/sshbn.c index 2d8359e3..d0608a3a 100644 --- a/sshbn.c +++ b/sshbn.c @@ -729,6 +729,7 @@ Bignum bigmuladd(Bignum a, Bignum b, Bignum addend) } ret[0] = maxspot; + sfree(workspace); return ret; } @@ -1009,5 +1010,6 @@ char *bignum_decimal(Bignum x) /* * Done. */ + sfree(workspace); return ret; }