* exceptions.cc (try_to_debug): Free environment pointer when not used
anymore (CID 59968).
This commit is contained in:
parent
4ea38ac7ef
commit
4337e28e62
|
@ -1,3 +1,8 @@
|
||||||
|
2014-06-23 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* exceptions.cc (try_to_debug): Free environment pointer when not used
|
||||||
|
anymore (CID 59968).
|
||||||
|
|
||||||
2014-06-23 Corinna Vinschen <corinna@vinschen.de>
|
2014-06-23 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* net.cc (cygwin_getaddrinfo): Fix value of hint->ai_addrlen on 64 bit.
|
* net.cc (cygwin_getaddrinfo): Fix value of hint->ai_addrlen on 64 bit.
|
||||||
|
|
|
@ -482,9 +482,10 @@ try_to_debug (bool waitloop)
|
||||||
*q = L'_' ;
|
*q = L'_' ;
|
||||||
SetEnvironmentVariableW (L"CYGWIN", p + wcslen (L"CYGWIN=")) ;
|
SetEnvironmentVariableW (L"CYGWIN", p + wcslen (L"CYGWIN=")) ;
|
||||||
}
|
}
|
||||||
break ;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
FreeEnvironmentStringsW (rawenv);
|
||||||
|
|
||||||
console_printf ("*** starting debugger for pid %u, tid %u\n",
|
console_printf ("*** starting debugger for pid %u, tid %u\n",
|
||||||
cygwin_pid (GetCurrentProcessId ()), GetCurrentThreadId ());
|
cygwin_pid (GetCurrentProcessId ()), GetCurrentThreadId ());
|
||||||
|
|
Loading…
Reference in New Issue