forked from Mirrors/wine-wine
kernel32/tests: Fix resource leak.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>oldstable
parent
35a744b26b
commit
027e2add2e
|
@ -1653,6 +1653,7 @@ static WORD get_thread_fpu_cw(void)
|
|||
res = CloseHandle(ctx.finished);
|
||||
ok(!!res, "Failed to close event handle, last error %#x.\n", GetLastError());
|
||||
|
||||
CloseHandle(thread);
|
||||
return ctx.cw;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue