kex: Fixed a memory leak.

Thanks to Xi Wang for the patch.
This commit is contained in:
Andreas Schneider
2010-04-20 13:28:12 +02:00
parent 090f036205
commit b7a7c816df

View File

@@ -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);