wineboot: Fix thread handle leak in runCmd.

This commit is contained in:
Rob Shearman 2008-02-25 09:00:25 +00:00 committed by Alexandre Julliard
parent 1d6922b2e0
commit 47c53cc724

View file

@ -329,6 +329,7 @@ static DWORD runCmd(LPWSTR cmdline, LPCWSTR dir, BOOL wait, BOOL minimized)
GetExitCodeProcess(info.hProcess, &exit_code);
}
CloseHandle( info.hThread );
CloseHandle( info.hProcess );
return exit_code;