Commit 3b43ea73 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msxml3: Fix memory leaks in tests.

parent 188ef4e4
......@@ -750,6 +750,7 @@ todo_wine
r = IXMLDOMNode_get_baseName( next, &str );
ok( r == S_FALSE, "get_baseName returned wrong code\n");
ok( str == NULL, "basename was wrong\n");
SysFreeString(str);
}
else
ok( FALSE, "no next\n");
......@@ -840,6 +841,7 @@ todo_wine
r = IXMLDOMNode_get_baseName( node, &str );
ok( r == S_OK, "get_baseName returned wrong code\n");
ok( lstrcmpW(str,szbs) == 0, "basename was wrong\n");
SysFreeString(str);
}
else
ok( FALSE, "no node\n");
......
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