msxml3/tests: Remove redundant NULL check before SysFreeString (Smatch).

This commit is contained in:
Michael Stefaniuc 2008-09-24 23:04:34 +02:00 committed by Alexandre Julliard
parent 9c0d148dd5
commit 1949a8c245
1 changed files with 1 additions and 2 deletions

View File

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