msxml3: Fix memory leak in test.

This commit is contained in:
Alistair Leslie-Hughes 2007-12-11 16:06:00 +11:00 committed by Alexandre Julliard
parent 6dd046a61d
commit 93b6476671
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,7 @@ static void test_domnode( void )
ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code\n"); ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code\n");
/* content doesn't matter here */ /* content doesn't matter here */
str = SysAllocString( szNonExistentFile ); str = NULL;
r = IXMLDOMElement_get_nodeName( element, &str ); r = IXMLDOMElement_get_nodeName( element, &str );
ok ( r == S_OK, "get_nodeName wrong code\n"); ok ( r == S_OK, "get_nodeName wrong code\n");
ok ( str != NULL, "str is null\n"); ok ( str != NULL, "str is null\n");