[PATCH 3/3] msxml3/tests: Fix a stream leak (Valgrind)
Nikolay Sivov
nsivov at codeweavers.com
Thu Dec 31 03:42:56 CST 2015
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/msxml3/tests/httpreq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/msxml3/tests/httpreq.c b/dlls/msxml3/tests/httpreq.c
index 68de61e..ab72d3a 100644
--- a/dlls/msxml3/tests/httpreq.c
+++ b/dlls/msxml3/tests/httpreq.c
@@ -1684,6 +1684,7 @@ static void test_XMLHTTP(void)
hr = GetHGlobalFromStream((IStream*)V_UNKNOWN(&varbody), &g);
EXPECT_HR(hr, S_OK);
ok(g != NULL, "got %p\n", g);
+ VariantClear(&varbody);
IDispatch_Release(event);
--
2.6.4
More information about the wine-patches
mailing list