Source commit: 1f8d1d34cfbb5554e3d4ed4206047e42410b695c
@@ -748,6 +748,7 @@ void FreeKey(TPrivateKey * PrivateKey)
{
struct ssh2_userkey * Ssh2Key = reinterpret_cast<struct ssh2_userkey *>(PrivateKey);
ssh_key_free(Ssh2Key->key);
+ sfree(Ssh2Key->comment);
sfree(Ssh2Key);
}
//---------------------------------------------------------------------------