mshtml/tests: Fix interface release (coverity)
Nikolay Sivov
bunglehead at gmail.com
Sat Jan 24 08:27:19 CST 2009
Changelog:
- Fix interface release (coverity)
>From ba81efffd7b0a3b3f193a31315675b8f460e466a Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Sat, 24 Jan 2009 17:25:11 +0300
Subject: 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);
}
--
1.5.6.5
More information about the wine-patches
mailing list