1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

uxpty.c: initialise pty->pending_eof.

valgrind just pointed out that it wasn't.
This commit is contained in:
Simon Tatham 2019-02-13 19:35:34 +00:00
parent 75dda5e86f
commit 85550641d7

View File

@ -420,6 +420,7 @@ static Pty *new_pty_struct(void)
{
Pty *pty = snew(Pty);
pty->conf = NULL;
pty->pending_eof = false;
bufchain_init(&pty->output_data);
return pty;
}