diff --git a/ssh2transport.c b/ssh2transport.c index 2a713413..ae00b28a 100644 --- a/ssh2transport.c +++ b/ssh2transport.c @@ -215,6 +215,8 @@ static void ssh2_transport_free(PacketProtocolLayer *ppl) strbuf_free(s->outgoing_kexinit); strbuf_free(s->incoming_kexinit); ssh_transient_hostkey_cache_free(s->thc); + + expire_timer_context(s); sfree(s); }