Joe Yates's memory leak patch was overenthusiastically freeing
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 1 Jan 2004 16:42:48 +0000 (16:42 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 1 Jan 2004 16:42:48 +0000 (16:42 +0000)
commitb3949e7e90c4b8f391e3083a45692d7a8c700db5
treebeb9653acfca8adceb46be59ed9be5f2ffd805a8
parent2331d5135f7e6bcd57a1d4f53043d6566100b664
Joe Yates's memory leak patch was overenthusiastically freeing
things; it called freebn on the DH gex values even if DH gex had not
taken place. Bug was trivially reproducible as a NULL-dereference
segfault by making any SSH2 connection with DH gex disabled. Should
now be fixed.

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