Nikolay Sivov : msxml3/tests: Fix a minor variant leak (Valgrind).

Alexandre Julliard julliard at wine.codeweavers.com
Sun Jan 3 14:24:15 CST 2016


Module: wine
Branch: master
Commit: b3356593d31635bad3d6cb212062bbc6fd921a0d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b3356593d31635bad3d6cb212062bbc6fd921a0d

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Dec 31 12:42:55 2015 +0300

msxml3/tests: Fix a minor variant leak (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);




More information about the wine-cvs mailing list