aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-04-20 13:28:12 +0200
committerAndreas Schneider <mail@cynapses.org>2010-04-20 13:28:12 +0200
commitb7a7c816df48e7a66b452f5285f5cde3b3894a22 (patch)
tree334e2ca1d1f613db4ef71c05f8f5332b613b495e
parent090f0362052fc60be04af1954c45532ae0dce61d (diff)
downloadlibssh-b7a7c816df48e7a66b452f5285f5cde3b3894a22.tar.gz
libssh-b7a7c816df48e7a66b452f5285f5cde3b3894a22.tar.xz
libssh-b7a7c816df48e7a66b452f5285f5cde3b3894a22.zip
kex: Fixed a memory leak.
Thanks to Xi Wang for the patch.
-rw-r--r--libssh/kex.c1
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);