msxml3/tests: Fix a minor variant leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
81fbbb30a5
commit
b3356593d3
|
@ -1316,6 +1316,7 @@ static void test_XDR_datatypes(void)
|
||||||
EXPECT_HR(hr, S_FALSE);
|
EXPECT_HR(hr, S_FALSE);
|
||||||
ok(V_VT(&type) == VT_NULL, "%s: got type %i\n", ptr->query, V_VT(&type));
|
ok(V_VT(&type) == VT_NULL, "%s: got type %i\n", ptr->query, V_VT(&type));
|
||||||
}
|
}
|
||||||
|
VariantClear(&type);
|
||||||
|
|
||||||
VariantClear(&v);
|
VariantClear(&v);
|
||||||
hr = IXMLDOMNode_get_nodeTypedValue(node, &v);
|
hr = IXMLDOMNode_get_nodeTypedValue(node, &v);
|
||||||
|
|
Loading…
Reference in New Issue