diff options
author | Martin Willi <martin@strongswan.org> | 2007-10-04 15:20:00 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-10-04 15:20:00 +0000 |
commit | 493f377b41694cb9670a620e2761f7457c4fd00e (patch) | |
tree | cd30ffe5f71e9b55a0463de877c2081e69871d99 /src/libstrongswan/crypto/diffie_hellman.c | |
parent | c96aefe268f7d8430487ce8efa390cf02385951d (diff) | |
download | strongswan-493f377b41694cb9670a620e2761f7457c4fd00e.tar.bz2 strongswan-493f377b41694cb9670a620e2761f7457c4fd00e.tar.xz |
fixed memory leak
Diffstat (limited to 'src/libstrongswan/crypto/diffie_hellman.c')
-rw-r--r-- | src/libstrongswan/crypto/diffie_hellman.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstrongswan/crypto/diffie_hellman.c b/src/libstrongswan/crypto/diffie_hellman.c index 7b33ae4ed..605892e87 100644 --- 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); } |