mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-16 03:53:01 -05:00
ssh_free() should not call log_free(); it's for the front end to
decide whether the logctx is finished with or not. [originally from svn r4452]
This commit is contained in:
parent
f17522be6c
commit
f16d8aff82
4
ssh.c
4
ssh.c
@ -6473,10 +6473,6 @@ static void ssh_free(void *handle)
|
|||||||
crcda_free_context(ssh->crcda_ctx);
|
crcda_free_context(ssh->crcda_ctx);
|
||||||
ssh->crcda_ctx = NULL;
|
ssh->crcda_ctx = NULL;
|
||||||
}
|
}
|
||||||
if (ssh->logctx) {
|
|
||||||
log_free(ssh->logctx);
|
|
||||||
ssh->logctx = NULL;
|
|
||||||
}
|
|
||||||
if (ssh->s)
|
if (ssh->s)
|
||||||
ssh_do_close(ssh);
|
ssh_do_close(ssh);
|
||||||
sfree(ssh);
|
sfree(ssh);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user