From ee50e8b60689e03909b3379beb65c62d9c151828 Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 16 Dec 2004 15:38:39 +0000 Subject: [PATCH] Fix obviously stupid segfault. Ahem. git-svn-id: svn://svn.tartarus.org/sgt/putty@4989 cda61777-01e9-0310-a592-d414129be87e --- ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.11.0