* exceptions.cc (try_to_debug): Free environment pointer when not used
anymore (CID 59968).
This commit is contained in:
		| @@ -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> | ||||
|  | ||||
| 	* net.cc (cygwin_getaddrinfo): Fix value of hint->ai_addrlen on 64 bit. | ||||
|   | ||||
| @@ -485,6 +485,7 @@ try_to_debug (bool waitloop) | ||||
| 	  break; | ||||
| 	} | ||||
|     } | ||||
|   FreeEnvironmentStringsW (rawenv); | ||||
|  | ||||
|   console_printf ("*** starting debugger for pid %u, tid %u\n", | ||||
| 		  cygwin_pid (GetCurrentProcessId ()), GetCurrentThreadId ()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user