Module: wine Branch: master Commit: f4f5ee152d6869d2334cfdda1c4ff859eebdd317 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4f5ee152d6869d2334cfdda1c... Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Sat Jan 24 17:25:11 2009 +0300 mshtml/tests: Fix interface release (Coverity). --- dlls/mshtml/tests/htmldoc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c index c870989..e4ae144 100644 --- a/dlls/mshtml/tests/htmldoc.c +++ b/dlls/mshtml/tests/htmldoc.c @@ -4153,9 +4153,9 @@ static void test_HTMLDoc_ISupportErrorInfo(void) { hres = ISupportErrorInfo_InterfaceSupportsErrorInfo(sinfo, &IID_IErrorInfo); ok(hres == S_FALSE, "Expected S_OK, got %x\n", hres); + IUnknown_Release(sinfo); } - IUnknown_Release(sinfo); ref = IUnknown_Release(unk); ok(ref == 0, "ref=%d, expected 0\n", ref); }