* exceptions.cc (try_to_debug): Free environment pointer when not used
anymore (CID 59968).
This commit is contained in:
@ -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 ());
|
||||
|
Reference in New Issue
Block a user