[PATCH 2/3] msxml3/tests: Fix a minor variant leak (Valgrind)

Nikolay Sivov nsivov at codeweavers.com
Thu Dec 31 03:42:55 CST 2015


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/msxml3/tests/schema.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/msxml3/tests/schema.c b/dlls/msxml3/tests/schema.c
index be18fcf..bfedb8b 100644
--- a/dlls/msxml3/tests/schema.c
+++ b/dlls/msxml3/tests/schema.c
@@ -1316,6 +1316,7 @@ static void test_XDR_datatypes(void)
             EXPECT_HR(hr, S_FALSE);
             ok(V_VT(&type) == VT_NULL, "%s: got type %i\n", ptr->query, V_VT(&type));
         }
+        VariantClear(&type);
 
         VariantClear(&v);
         hr = IXMLDOMNode_get_nodeTypedValue(node, &v);
-- 
2.6.4




More information about the wine-patches mailing list