diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c index 3185963770..54c303473e 100644 --- a/programs/wineboot/wineboot.c +++ b/programs/wineboot/wineboot.c @@ -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;