kernel32/tests: Fix few context leaks.
This commit is contained in:
parent
5d9fd1b716
commit
0fe54088bc
|
@ -869,7 +869,7 @@ static void test_basic_info(HANDLE handle)
|
|||
SIZE_T size;
|
||||
BOOL b;
|
||||
|
||||
b = pQueryActCtxW(0, handle, NULL,
|
||||
b = pQueryActCtxW(QUERY_ACTCTX_FLAG_NO_ADDREF, handle, NULL,
|
||||
ActivationContextBasicInformation, &basic,
|
||||
sizeof(basic), &size);
|
||||
|
||||
|
@ -878,7 +878,8 @@ static void test_basic_info(HANDLE handle)
|
|||
ok (basic.dwFlags == 0, "unexpected flags %x\n",basic.dwFlags);
|
||||
ok (basic.hActCtx == handle, "unexpected handle\n");
|
||||
|
||||
b = pQueryActCtxW(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX, handle, NULL,
|
||||
b = pQueryActCtxW(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX |
|
||||
QUERY_ACTCTX_FLAG_NO_ADDREF, handle, NULL,
|
||||
ActivationContextBasicInformation, &basic,
|
||||
sizeof(basic), &size);
|
||||
if (handle)
|
||||
|
|
Loading…
Reference in New Issue