Nikolay Sivov : msxml3/tests: Fix a stream leak (Valgrind).
Alexandre Julliard
julliard at wine.codeweavers.com
Sun Jan 3 14:24:15 CST 2016
Module: wine
Branch: master
Commit: 08be561fbf959a127d2deb44c32397a473a41e1e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=08be561fbf959a127d2deb44c32397a473a41e1e
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Thu Dec 31 12:42:56 2015 +0300
msxml3/tests: Fix a stream leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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);
More information about the wine-cvs
mailing list