mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-22 00:38:06 +08:00
* bsd_helper.cc (ipcexit_creat_hookthread): Delete shs in another error
case to make Coverity really happy (CID 59993).
This commit is contained in:
parent
f739fd3ef0
commit
cf06a0b18c
@ -1,3 +1,8 @@
|
|||||||
|
2014-05-19 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* bsd_helper.cc (ipcexit_creat_hookthread): Delete shs in another error
|
||||||
|
case to make Coverity really happy (CID 59993).
|
||||||
|
|
||||||
2014-06-23 Corinna Vinschen <corinna@vinschen.de>
|
2014-06-23 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* client.cc: Throughout, fix debug output of signed byte count value.
|
* client.cc: Throughout, fix debug output of signed byte count value.
|
||||||
|
@ -200,6 +200,7 @@ ipcexit_creat_hookthread (struct thread *td)
|
|||||||
GetCurrentProcess (), &shs->process_hdl,
|
GetCurrentProcess (), &shs->process_hdl,
|
||||||
0, FALSE, DUPLICATE_SAME_ACCESS))
|
0, FALSE, DUPLICATE_SAME_ACCESS))
|
||||||
{
|
{
|
||||||
|
delete shs;
|
||||||
log (LOG_CRIT, "failed to duplicate process handle, error = %u",
|
log (LOG_CRIT, "failed to duplicate process handle, error = %u",
|
||||||
GetLastError ());
|
GetLastError ());
|
||||||
return cygwin_internal (CW_GET_ERRNO_FROM_WINERROR,
|
return cygwin_internal (CW_GET_ERRNO_FROM_WINERROR,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user