appwiz.cpl: Fix handle leak.

This commit is contained in:
Pierre Schweitzer 2011-12-30 21:53:54 +01:00 committed by Alexandre Julliard
parent 9ebdcc4231
commit ae8f62940e
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@ static INT_PTR CALLBACK installer_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARA
ShowWindow(GetDlgItem(hwnd, ID_DWL_PROGRESS), SW_SHOW);
EnableWindow(GetDlgItem(hwnd, ID_DWL_INSTALL), 0);
EnableWindow(GetDlgItem(hwnd, IDCANCEL), 0); /* FIXME */
CreateThread(NULL, 0, download_proc, NULL, 0, NULL);
CloseHandle( CreateThread(NULL, 0, download_proc, NULL, 0, NULL));
return FALSE;
}
}