Fix a file descriptor leak in create_process().
This commit is contained in:
parent
631150dd81
commit
52bf6c2bb1
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue