ChangeSet ID: 21409 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@winehq.org 2005/11/23 07:43:51
Modified files: dlls/msxml3/tests: domdoc.c
Log message: Huw Davies huw@codeweavers.com Release a stray node.
Patch: http://cvs.winehq.org/patch.py?id=21409
Old revision New revision Changes Path 1.12 1.13 +2 -1 wine/dlls/msxml3/tests/domdoc.c
Index: wine/dlls/msxml3/tests/domdoc.c diff -u -p wine/dlls/msxml3/tests/domdoc.c:1.12 wine/dlls/msxml3/tests/domdoc.c:1.13 --- wine/dlls/msxml3/tests/domdoc.c:1.12 23 Nov 2005 13:43:51 -0000 +++ wine/dlls/msxml3/tests/domdoc.c 23 Nov 2005 13:43:51 -0000 @@ -168,7 +168,7 @@ void test_domdoc( void ) SysFreeString( str );
- /* check that there's no document element */ + /* check that there's a document element */ element = NULL; r = IXMLDOMDocument_get_documentElement( doc, &element ); ok( r == S_OK, "should be a document element\n"); @@ -335,6 +335,7 @@ void test_domnode( void ) r = IXMLDOMNamedNodeMap_getNamedItem( map, str, &node ); ok( r == S_OK, "getNamedItem returned wrong code\n"); ok( node != NULL, "should be attributes\n"); + IXMLDOMNode_Release(node); SysFreeString( str );
/* test indexed access of attributes */