]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
In ssh_channel_init(), insert the new channel into the channel tree234.
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 21 May 2016 21:58:57 +0000 (22:58 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 21 May 2016 22:26:57 +0000 (23:26 +0100)
commitbc48975ce52aa4f69497db039317c249410d4b9d
tree4f153a1f7e8ac66b2c7a8a82cb80591912657144
parentacfab518d2ab2600b1d76fd409c0626814746784
In ssh_channel_init(), insert the new channel into the channel tree234.

All but one caller was doing this unconditionally.  The one conditional
call was when initialising the main channel, and in consequence PuTTY
leaked a channel structure when the server refused to open the main
channel.  Now it doesn't.
ssh.c