* bsd_helper.cc (ipcexit_creat_hookthread): Delete shs to make
Coverity happy (CID 59993). * transport_pipes.cc (transport_layer_pipes::listen): Make listen_pipe and connect_pipe statics to make Coverity happy (CID 60010/60011).
This commit is contained in:
@ -209,6 +209,7 @@ ipcexit_creat_hookthread (struct thread *td)
|
||||
HANDLE thread = CreateThread (NULL, 0, ipcexit_hookthread, shs, 0, &tid);
|
||||
if (!thread)
|
||||
{
|
||||
delete shs;
|
||||
log (LOG_CRIT, "failed to create thread, error = %u", GetLastError ());
|
||||
return cygwin_internal (CW_GET_ERRNO_FROM_WINERROR,
|
||||
GetLastError (), ENOMEM);
|
||||
|
Reference in New Issue
Block a user