diff options
author | Andreas Schneider <mail@cynapses.org> | 2010-04-20 13:28:12 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2010-04-20 13:28:12 +0200 |
commit | b7a7c816df48e7a66b452f5285f5cde3b3894a22 (patch) | |
tree | 334e2ca1d1f613db4ef71c05f8f5332b613b495e /libssh | |
parent | 090f0362052fc60be04af1954c45532ae0dce61d (diff) | |
download | libssh-b7a7c816df48e7a66b452f5285f5cde3b3894a22.tar.gz libssh-b7a7c816df48e7a66b452f5285f5cde3b3894a22.tar.xz libssh-b7a7c816df48e7a66b452f5285f5cde3b3894a22.zip |
kex: Fixed a memory leak.
Thanks to Xi Wang for the patch.
Diffstat (limited to 'libssh')
-rw-r--r-- | libssh/kex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/kex.c b/libssh/kex.c index a5997348..a411755b 100644 --- a/libssh/kex.c +++ b/libssh/kex.c @@ -781,6 +781,7 @@ end: string_free(server_exp); string_free(serverkey); string_free(hostkey); + string_free(enc_session); publickey_free(srv); publickey_free(host); |