]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - ssh.c
Forgot to initialise ssh->portfwds to NULL. Unusually, this was
[PuTTY.git] / ssh.c
diff --git a/ssh.c b/ssh.c
index e92eb1d7738779cdf4e1aacc154c9097ff64597f..3f37c64955d72dbfa8fedccd133ddf72a81cc5e7 100644 (file)
--- 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;