projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
799dfcf
)
Fix a couple of blatant memory leaks; thanks to Ruurd Beerstra for
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 25 Aug 2003 14:18:14 +0000
(14:18 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 25 Aug 2003 14:18:14 +0000
(14:18 +0000)
pointing at least one of them out.
git-svn-id: svn://svn.tartarus.org/sgt/putty@3421
cda61777
-01e9-0310-a592-
d414129be87e
sshbn.c
patch
|
blob
|
blame
|
history
diff --git
a/sshbn.c
b/sshbn.c
index
2d8359e
..
d0608a3
100644
(file)
--- 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;
}