It's not legal to free a coroutine's state structure before invoking
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 27 Aug 2012 14:34:41 +0000 (14:34 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 27 Aug 2012 14:34:41 +0000 (14:34 +0000)
commit5ca1271916531b05ca55290fe26be458c874c471
treed32d22d9f81570f0438a3023282fe502789bc849
parent3a7dd598fe6295b26fbfa482a55b704ecdee871a
It's not legal to free a coroutine's state structure before invoking
crFinish or crFinishV, since they will attempt to write to the
coroutine state variable contained in that structure. Introduced some
new all-in-one macros crFinishFree and crFinishFreeV, and used those
instead. Should fix today's report of a crash just after authentication.

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