X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=rostests%2Fwinetests%2Fmsxml3%2Fdomdoc.c;h=8683b285b518210505bd7a1ef1146f5adb558931;hp=312d5806539375fd2c4c568072439d250a2a15ab;hb=b2b1bf9eef371632ae8aa2149aabebab5c8ba28f;hpb=f756c9c7a034daa92729947ea1f8c0714340ae68 diff --git a/rostests/winetests/msxml3/domdoc.c b/rostests/winetests/msxml3/domdoc.c index 312d5806539..8683b285b51 100644 --- a/rostests/winetests/msxml3/domdoc.c +++ b/rostests/winetests/msxml3/domdoc.c @@ -2243,10 +2243,9 @@ static void test_domnode( void ) ok( tag != NULL, "tag was null\n"); ok( !lstrcmpW( tag, szSSearch ), "incorrect tag name\n"); SysFreeString( tag ); - } - if (element) IXMLDOMElement_Release( element ); + } ok(IXMLDOMDocument_Release( doc ) == 0, "document is not destroyed\n"); free_bstrs();