Commit 47c53cc7 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

wineboot: Fix thread handle leak in runCmd.

parent 1d6922b2
...@@ -329,6 +329,7 @@ static DWORD runCmd(LPWSTR cmdline, LPCWSTR dir, BOOL wait, BOOL minimized) ...@@ -329,6 +329,7 @@ static DWORD runCmd(LPWSTR cmdline, LPCWSTR dir, BOOL wait, BOOL minimized)
GetExitCodeProcess(info.hProcess, &exit_code); GetExitCodeProcess(info.hProcess, &exit_code);
} }
CloseHandle( info.hThread );
CloseHandle( info.hProcess ); CloseHandle( info.hProcess );
return exit_code; return exit_code;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment