From d67bc798aa9c49b2afd0c8ae732b1b32fe1942c7 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 16 Dec 2004 15:38:39 +0000 Subject: [PATCH] Fix obviously stupid segfault. Ahem. [originally from svn r4989] --- 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(); }