mshtml/tests: Fix interface release (Coverity).
This commit is contained in:
parent
2fbe8d23eb
commit
f4f5ee152d
@ -4153,9 +4153,9 @@ static void test_HTMLDoc_ISupportErrorInfo(void)
|
|||||||
{
|
{
|
||||||
hres = ISupportErrorInfo_InterfaceSupportsErrorInfo(sinfo, &IID_IErrorInfo);
|
hres = ISupportErrorInfo_InterfaceSupportsErrorInfo(sinfo, &IID_IErrorInfo);
|
||||||
ok(hres == S_FALSE, "Expected S_OK, got %x\n", hres);
|
ok(hres == S_FALSE, "Expected S_OK, got %x\n", hres);
|
||||||
|
IUnknown_Release(sinfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
IUnknown_Release(sinfo);
|
|
||||||
ref = IUnknown_Release(unk);
|
ref = IUnknown_Release(unk);
|
||||||
ok(ref == 0, "ref=%d, expected 0\n", ref);
|
ok(ref == 0, "ref=%d, expected 0\n", ref);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user