Commit 52bf6c2b authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Fix a file descriptor leak in create_process().

parent 631150dd
......@@ -1336,6 +1336,7 @@ static BOOL create_process( HANDLE hFile, LPCWSTR filename, LPWSTR cmd_line, LPW
CloseHandle( process_info );
return FALSE;
}
close( execfd[0] );
/* wait for the new process info to be ready */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment