Commit 1949a8c2 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent 9c0d148d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment