wineboot: Fix thread handle leak in runCmd.
This commit is contained in:
parent
1d6922b2e0
commit
47c53cc724
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user