From: Simon Tatham Date: Tue, 28 Dec 2004 16:18:17 +0000 (+0000) Subject: Forgot to initialise ssh->portfwds to NULL. Unusually, this was X-Git-Tag: 0.58~279 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=11655820ca7ba0e3f15a900eb3c75f60b66944d5;p=PuTTY.git Forgot to initialise ssh->portfwds to NULL. Unusually, this was pointed out by the MSVC debugger, not by valgrind :-) [originally from svn r5034] --- diff --git a/ssh.c b/ssh.c index e92eb1d7..3f37c649 100644 --- a/ssh.c +++ b/ssh.c @@ -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;