1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-28 15:24:49 -05:00

Forgot to initialise ssh->portfwds to NULL. Unusually, this was

pointed out by the MSVC debugger, not by valgrind :-)

[originally from svn r5034]
This commit is contained in:
Simon Tatham 2004-12-28 16:18:17 +00:00
parent 693bbf0ec6
commit 11655820ca

1
ssh.c
View File

@ -7338,6 +7338,7 @@ static const char *ssh_init(void *frontend_handle, void **backend_handle,
ssh->channels = NULL;
ssh->rportfwds = NULL;
ssh->portfwds = NULL;
ssh->send_ok = 0;
ssh->editing = 0;