Commit 278e6140 authored by Pierre Schweitzer's avatar Pierre Schweitzer Committed by Alexandre Julliard

winetest: Fix handle leak.

parent 4f18f4d2
...@@ -532,6 +532,7 @@ report (enum report_type t, ...) ...@@ -532,6 +532,7 @@ report (enum report_type t, ...)
GetLastError ()); GetLastError ());
else { else {
DWORD ret = WaitForSingleObject (initEvent, INFINITE); DWORD ret = WaitForSingleObject (initEvent, INFINITE);
CloseHandle(DlgThread);
switch (ret) { switch (ret) {
case WAIT_OBJECT_0: case WAIT_OBJECT_0:
funcs = GUI_funcs; funcs = GUI_funcs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment