Add some missing null checks for inst->ldisc, which were causing
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 11 Jul 2013 17:24:20 +0000 (17:24 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 11 Jul 2013 17:24:20 +0000 (17:24 +0000)
commitd72da0cb39c19acbe1654c0c417808088e2d271f
tree6c7ff28d1eb32cd11cde24434c616c1694afa379
parent0c1fe54fe7c1003f2b35d97b218797fd35b806a2
Add some missing null checks for inst->ldisc, which were causing
segfaults if a PuTTY or pterm did not close on exit and then you
either typed something via input_method_commit_event or changed the
line editing or echo settings.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9908 cda61777-01e9-0310-a592-d414129be87e
unix/gtkwin.c