X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/6d60c7915f26898fb4468096ffbf9ddc843db73a..ee50e8b60689e03909b3379beb65c62d9c151828:/ssh.c diff --git a/ssh.c b/ssh.c index 8c552b1e..0377e9a8 100644 --- a/ssh.c +++ b/ssh.c @@ -7258,9 +7258,9 @@ static void ssh_free(void *handle) if (ssh->s) ssh_do_close(ssh); expire_timer_context(ssh); - sfree(ssh); if (ssh->pinger) pinger_free(ssh->pinger); + sfree(ssh); random_unref(); }