Fix a file descriptor leak in create_process().

This commit is contained in:
Francois Gouget 2004-01-20 02:11:06 +00:00 committed by Alexandre Julliard
parent 631150dd81
commit 52bf6c2bb1
1 changed files with 1 additions and 0 deletions

View File

@ -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 */