mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-06 22:12:47 -05:00
Fix obviously stupid segfault. Ahem.
[originally from svn r4989]
This commit is contained in:
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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user