NULL a couple of members after freeing them in ssh_free(). In particular,
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Thu, 2 Dec 2004 13:37:28 +0000 (13:37 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Thu, 2 Dec 2004 13:37:28 +0000 (13:37 +0000)
commitcdb5270507ec9ad0d07cbccac1e358a94bfb3590
tree596660aeaef691da53b6b13d77434187edcc61e7
parent72fd638e35802f55d8341c7b08d3bfd4d0b92b34
NULL a couple of members after freeing them in ssh_free(). In particular,
should stop ssh_do_close() accessing freed ssh->channels when invoked later
from ssh_free(). Spotted by Fred Sauer.

(Perhaps this is the cause of the crashes people have been reporting on
abnormal closures such as `Software caused connection abort'? I've not been
able to test this.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@4946 cda61777-01e9-0310-a592-d414129be87e
ssh.c