Commit 027e2add authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

kernel32/tests: Fix resource leak.

parent 35a744b2
......@@ -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;
}
......
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