diff options
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 186a4d4dc..7e707013e 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -482,9 +482,10 @@ try_to_debug (bool waitloop) *q = L'_' ; SetEnvironmentVariableW (L"CYGWIN", p + wcslen (L"CYGWIN=")) ; } - break ; + break; } } + FreeEnvironmentStringsW (rawenv); console_printf ("*** starting debugger for pid %u, tid %u\n", cygwin_pid (GetCurrentProcessId ()), GetCurrentThreadId ()); |