From b7a7c816df48e7a66b452f5285f5cde3b3894a22 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 20 Apr 2010 13:28:12 +0200 Subject: [PATCH] kex: Fixed a memory leak. Thanks to Xi Wang for the patch. --- libssh/kex.c | 1 + 1 file changed, 1 insertion(+) 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);