From f0c1e349e133c532aa87760b8f8349a3748a6830 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 23 Nov 2005 14:30:22 +0100 Subject: [PATCH] Release a stray node. --- dlls/msxml3/tests/domdoc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c index 1405b992bb0..9efc33cf82c 100644 --- a/dlls/msxml3/tests/domdoc.c +++ b/dlls/msxml3/tests/domdoc.c @@ -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 */ -- 2.11.4.GIT