]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Clean up a stale foreign handle in winnps.c.
authorSimon Tatham <anakin@pobox.com>
Tue, 7 Apr 2015 20:54:41 +0000 (21:54 +0100)
committerSimon Tatham <anakin@pobox.com>
Tue, 7 Apr 2015 20:54:41 +0000 (21:54 +0100)
commit6f241cef2c9770abf71349dd59547b3e5b4c0301
tree79565f914fc09461f014fbc63a6e7845e6d62ffd
parent2422b18a0f4d758f0660503b068dd19d92de4906
Clean up a stale foreign handle in winnps.c.

I had set up an event object for signalling incoming connections to
the named pipe, and then called handle_add_foreign_event to get that
event object watched for connections - but when I closed down the
listening pipe, I deleted the event object without also cancelling
that foreign-event handle, so that winhandl.c would potentially call
the callback for a destroyed object.
windows/winnps.c