mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* cygtls.cc (_cygtls::remove): Avoid closing a NULL handle.
This commit is contained in:
parent
58fc288ada
commit
421dde25fa
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@ -150,7 +150,8 @@ _cygtls::remove (DWORD wait)
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user