Commit 3c293592 authored by Mikołaj Zalewski's avatar Mikołaj Zalewski Committed by Alexandre Julliard

msxml3/tests: Avoid a crash that happens on some native systems.

parent 9b9e08c2
......@@ -268,11 +268,14 @@ static void test_createElement(void)
ok(hr == S_OK, "Expected S_OK, got %d\n", hr);
ok(element != NULL, "Expected non-NULL element\n");
if (element != NULL)
{
hr = IXMLElement_get_type(element, &type);
ok(hr == S_OK, "Expected S_OK, got %d\n", hr);
ok(type == XMLELEMTYPE_OTHER, "Expected XMLELEMTYPE_OTHER, got %ld\n", type);
IXMLElement_Release(element);
}
/* invalid vName type */
V_VT(&vType) = VT_I4;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment