diff options
Diffstat (limited to 'winsup/cygserver/bsd_helper.cc')
-rw-r--r-- | winsup/cygserver/bsd_helper.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygserver/bsd_helper.cc b/winsup/cygserver/bsd_helper.cc index 8aa99964f..9b64918f9 100644 --- a/winsup/cygserver/bsd_helper.cc +++ b/winsup/cygserver/bsd_helper.cc @@ -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); |