https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5b3703d8cd791bba36462…
commit 5b3703d8cd791bba364627c4e56a379d6a0c17e3
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Nov 2 18:31:02 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sat Nov 2 18:31:02 2019 +0100
[HLINK_WINETEST] Sync with Wine Staging 4.18. CORE-16441
---
modules/rostests/winetests/hlink/browse_ctx.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/modules/rostests/winetests/hlink/browse_ctx.c
b/modules/rostests/winetests/hlink/browse_ctx.c
index 319352500ca..95a72d77722 100644
--- a/modules/rostests/winetests/hlink/browse_ctx.c
+++ b/modules/rostests/winetests/hlink/browse_ctx.c
@@ -165,16 +165,12 @@ static void test_GetObject(void)
{
IHlinkBrowseContext *bc;
IMoniker *dummy;
- IBindCtx *bindctx;
IUnknown *unk;
WCHAR one[] = {'1',0};
WCHAR five[] = {'5',0};
DWORD cookie;
HRESULT hres;
- hres = CreateBindCtx(0, &bindctx);
- ok(hres == S_OK, "CreateBindCtx() failed: 0x%08x\n", hres);
-
hres = CreateItemMoniker(one, five, &dummy);
ok(hres == S_OK, "CreateItemMoniker() failed: 0x%08x\n", hres);
@@ -198,6 +194,7 @@ static void test_GetObject(void)
ok(hres == MK_E_UNAVAILABLE, "expected MK_E_UNAVAILABLE, got 0x%08x\n",
hres);
IHlinkBrowseContext_Release(bc);
+ IMoniker_Release(dummy);
}
START_TEST(browse_ctx)