mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 04:22:47 -05:00
uxpty.c: initialise pty->pending_eof.
valgrind just pointed out that it wasn't.
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user