From: simon Date: Tue, 28 Dec 2004 16:18:17 +0000 (+0000) Subject: Forgot to initialise ssh->portfwds to NULL. Unusually, this was X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/f47a5ffbcffa2963f22151334975e89a7bb84d05?hp=8ff5e86d76ed8fd727923d6dd68a1b0099fc3bad 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 --- 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;