projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Two small memory leaks, also noticed by Martin Prikryl.
[u/mdw/putty]
/
sshbn.c
diff --git
a/sshbn.c
b/sshbn.c
index
d0608a3
..
8d4d703
100644
(file)
--- a/
sshbn.c
+++ b/
sshbn.c
@@
-909,6
+909,7
@@
Bignum modinv(Bignum number, Bignum modulus)
x = bigmuladd(q, xp, t);
sign = -sign;
freebn(t);
+ freebn(q);
}
freebn(b);