browseui: Fix handle leak.

This commit is contained in:
Andrew Talbot 2008-04-15 22:11:26 +01:00 committed by Alexandre Julliard
parent 4b56ff7238
commit 160945e217
1 changed files with 1 additions and 0 deletions

View File

@ -324,6 +324,7 @@ static HRESULT WINAPI ProgressDialog_StartProgressDialog(IProgressDialog *iface,
hThread = CreateThread(NULL, 0, dialog_thread, &params, 0, NULL);
WaitForSingleObject(params.hEvent, INFINITE);
CloseHandle(hThread);
This->hwndDisabledParent = NULL;
if (hwndParent && (dwFlags & PROGDLG_MODAL))
{