+2009-07-06 Christopher Faylor <me+cygwin@cgf.cx>
+
+ * cygtls.cc (_cygtls::remove): Avoid closing a NULL handle.
+
2009-07-06 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::recv_internal): Convert wsabuf
select to control this themselves. */
if (!locals.select.sockevt)
{
- CloseHandle (locals.select.sockevt);
+ if (locals.select.sockevt)
+ CloseHandle (locals.select.sockevt);
locals.select.sockevt = NULL;
free_local (select.ser_num);
free_local (select.w4);