msxml3/tests: Valgrind fix.

This commit is contained in:
Michael Karcher 2008-10-07 11:54:45 +02:00 committed by Alexandre Julliard
parent 2e917e3a3c
commit 2a21579b08
1 changed files with 2 additions and 1 deletions

View File

@ -1565,7 +1565,8 @@ static void test_getElementsByTagName(void)
r = IDispatchEx_GetMemberName(dispex, dispid, &sName);
ok(r == E_NOTIMPL, "expected E_NOTIMPL got %08x\n", r);
SysFreeString(sName);
if( SUCCEEDED(r) )
SysFreeString(sName);
r = IDispatchEx_GetNextDispID(dispex, fdexEnumDefault, DISPID_XMLDOM_NODELIST_RESET, &dispid);
ok(r == E_NOTIMPL, "expected E_NOTIMPL got %08x\n", r);