mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-02-04 14:12:24 +00:00
uxpty.c: initialise pty->pending_eof.
valgrind just pointed out that it wasn't.
This commit is contained in:
parent
75dda5e86f
commit
85550641d7
@ -420,6 +420,7 @@ static Pty *new_pty_struct(void)
|
|||||||
{
|
{
|
||||||
Pty *pty = snew(Pty);
|
Pty *pty = snew(Pty);
|
||||||
pty->conf = NULL;
|
pty->conf = NULL;
|
||||||
|
pty->pending_eof = false;
|
||||||
bufchain_init(&pty->output_data);
|
bufchain_init(&pty->output_data);
|
||||||
return pty;
|
return pty;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user