msxml3: Fix memory leaks in tests.

This commit is contained in:
Alistair Leslie-Hughes 2007-12-24 12:52:52 +11:00 committed by Alexandre Julliard
parent 188ef4e4f9
commit 3b43ea73ef
1 changed files with 2 additions and 0 deletions

View File

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