mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Fix obviously stupid segfault. Ahem.
[originally from svn r4989]
This commit is contained in:
parent
a2e01a5604
commit
d67bc798aa
2
ssh.c
2
ssh.c
@ -7258,9 +7258,9 @@ static void ssh_free(void *handle)
|
|||||||
if (ssh->s)
|
if (ssh->s)
|
||||||
ssh_do_close(ssh);
|
ssh_do_close(ssh);
|
||||||
expire_timer_context(ssh);
|
expire_timer_context(ssh);
|
||||||
sfree(ssh);
|
|
||||||
if (ssh->pinger)
|
if (ssh->pinger)
|
||||||
pinger_free(ssh->pinger);
|
pinger_free(ssh->pinger);
|
||||||
|
sfree(ssh);
|
||||||
|
|
||||||
random_unref();
|
random_unref();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user