* bsd_helper.cc (ipcexit_creat_hookthread): Delete shs in another error

case to make Coverity really happy (CID 59993).
This commit is contained in:
Corinna Vinschen
2014-06-23 15:13:12 +00:00
parent f739fd3ef0
commit cf06a0b18c
2 changed files with 6 additions and 0 deletions

View File

@ -200,6 +200,7 @@ ipcexit_creat_hookthread (struct thread *td)
GetCurrentProcess (), &shs->process_hdl,
0, FALSE, DUPLICATE_SAME_ACCESS))
{
delete shs;
log (LOG_CRIT, "failed to duplicate process handle, error = %u",
GetLastError ());
return cygwin_internal (CW_GET_ERRNO_FROM_WINERROR,