From f47a5ffbcffa2963f22151334975e89a7bb84d05 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 28 Dec 2004 16:18:17 +0000 Subject: [PATCH 1/1] Forgot to initialise ssh->portfwds to NULL. Unusually, this was pointed out by the MSVC debugger, not by valgrind :-) git-svn-id: svn://svn.tartarus.org/sgt/putty@5034 cda61777-01e9-0310-a592-d414129be87e --- ssh.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.11.0