Andrew Talbot : browseui: Fix handle leak.
Alexandre Julliard
julliard at winehq.org
Wed Apr 16 08:09:47 CDT 2008
Module: wine
Branch: master
Commit: 160945e217bee92db266c8d8f19466978384f577
URL: http://source.winehq.org/git/wine.git/?a=commit;h=160945e217bee92db266c8d8f19466978384f577
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Tue Apr 15 22:11:26 2008 +0100
browseui: Fix handle leak.
---
dlls/browseui/progressdlg.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/browseui/progressdlg.c b/dlls/browseui/progressdlg.c
index c5465a3..c65a097 100644
--- a/dlls/browseui/progressdlg.c
+++ b/dlls/browseui/progressdlg.c
@@ -324,6 +324,7 @@ static HRESULT WINAPI ProgressDialog_StartProgressDialog(IProgressDialog *iface,
hThread = CreateThread(NULL, 0, dialog_thread, ¶ms, 0, NULL);
WaitForSingleObject(params.hEvent, INFINITE);
+ CloseHandle(hThread);
This->hwndDisabledParent = NULL;
if (hwndParent && (dwFlags & PROGDLG_MODAL))
{
More information about the wine-cvs
mailing list