Commit 129482f8 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml/tests: Fix node leak in test_create_elems.

parent 5a1da733
......@@ -10454,8 +10454,9 @@ static void test_create_elems(IHTMLDocument2 *doc)
node = test_create_text(doc, L" Test");
V_VT(&var) = VT_DISPATCH;
V_DISPATCH(&var) = NULL;
test_node_insertbefore((IUnknown*)body, node, &var);
node2 = test_node_insertbefore((IUnknown*)body, node, &var);
test_elem_innertext(body, L"insert test Test");
IHTMLDOMNode_Release(node2);
IHTMLDOMNode_Release(node);
doc5 = get_htmldoc5_iface((IUnknown*)doc);
......
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