1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-28 15:24:49 -05:00

Fix a couple of blatant memory leaks; thanks to Ruurd Beerstra for

pointing at least one of them out.

[originally from svn r3421]
This commit is contained in:
Simon Tatham 2003-08-25 14:18:14 +00:00
parent bfb9b28393
commit 4e8325c967

View File

@ -729,6 +729,7 @@ Bignum bigmuladd(Bignum a, Bignum b, Bignum addend)
} }
ret[0] = maxspot; ret[0] = maxspot;
sfree(workspace);
return ret; return ret;
} }
@ -1009,5 +1010,6 @@ char *bignum_decimal(Bignum x)
/* /*
* Done. * Done.
*/ */
sfree(workspace);
return ret; return ret;
} }