mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 19:49:50 +00:00
winetest: Fix handle leak.
This commit is contained in:
parent
4f18f4d2c3
commit
278e614065
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue