strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c96aefe
)
fixed memory leak
author
Martin Willi
<martin@strongswan.org>
Thu, 4 Oct 2007 15:20:00 +0000
(15:20 -0000)
committer
Martin Willi
<martin@strongswan.org>
Thu, 4 Oct 2007 15:20:00 +0000
(15:20 -0000)
src/libstrongswan/crypto/diffie_hellman.c
patch
|
blob
|
history
diff --git
a/src/libstrongswan/crypto/diffie_hellman.c
b/src/libstrongswan/crypto/diffie_hellman.c
index
7b33ae4
..
605892e
100644
(file)
--- a/
src/libstrongswan/crypto/diffie_hellman.c
+++ b/
src/libstrongswan/crypto/diffie_hellman.c
@@
-531,6
+531,7
@@
static void destroy(private_diffie_hellman_t *this)
mpz_clear(this->ya);
mpz_clear(this->yb);
mpz_clear(this->zz);
+ mpz_clear(this->g);
free(this);
}