[PATCH 8/8] Fix interface leak (Valgrind)

Nikolay Sivov nsivov at codeweavers.com
Sat Jan 15 10:07:58 CST 2011


---
 dlls/hlink/tests/browse_ctx.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/hlink/tests/browse_ctx.c b/dlls/hlink/tests/browse_ctx.c
index e25333d..78df8fa 100644
--- a/dlls/hlink/tests/browse_ctx.c
+++ b/dlls/hlink/tests/browse_ctx.c
@@ -124,6 +124,8 @@ static void test_BrowseWindowInfo(void)
     hres = IHlinkBrowseContext_GetBrowseWindowInfo(bc, &bwinfo_get);
     ok(hres == S_OK, "GetBrowseWindowInfo failed: 0x%08x\n", hres);
     ok(!memcmp(&bwinfo_set, &bwinfo_get, sizeof(HLBWINFO)), "Set and Get differ\n");
+
+    IHlinkBrowseContext_Release(bc);
 }
 
 START_TEST(browse_ctx)
-- 
1.5.6.5


--------------080801040507050406030508--



More information about the wine-patches mailing list