mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
write: Close the thread and process handles returned by CreateProcessW.
This commit is contained in:
parent
4ff3d9954e
commit
b7cfa58996
@ -45,6 +45,8 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPSTR szCmdPar
|
||||
|
||||
if (!CreateProcessW(path, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &stinf, &info))
|
||||
goto failed;
|
||||
CloseHandle(info.hProcess);
|
||||
CloseHandle(info.hThread);
|
||||
return 0;
|
||||
|
||||
failed:
|
||||
|
Loading…
Reference in New Issue
Block a user