winetest: Fix handle leak.

This commit is contained in:
Pierre Schweitzer 2011-12-30 21:56:16 +01:00 committed by Alexandre Julliard
parent 4f18f4d2c3
commit 278e614065
1 changed files with 1 additions and 0 deletions

View File

@ -532,6 +532,7 @@ report (enum report_type t, ...)
GetLastError ());
else {
DWORD ret = WaitForSingleObject (initEvent, INFINITE);
CloseHandle(DlgThread);
switch (ret) {
case WAIT_OBJECT_0:
funcs = GUI_funcs;