[PATCH 1/1] Fix interface leak

Nikolay Sivov bunglehead at gmail.com
Wed Jan 20 17:24:29 CST 2010


---
 dlls/msxml3/tests/xmldoc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/msxml3/tests/xmldoc.c b/dlls/msxml3/tests/xmldoc.c
index aadf088..bc7422d 100644
--- a/dlls/msxml3/tests/xmldoc.c
+++ b/dlls/msxml3/tests/xmldoc.c
@@ -433,6 +433,7 @@ static void test_persiststreaminit(void)
     hr = IXMLDocument_get_root(doc, &element);
     ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
     hr = IXMLElement_put_text(element, str);
+    IXMLElement_Release(element);
     SysFreeString(str);
 
     hr = IPersistStreamInit_IsDirty(psi);
-- 
1.5.6.5


--=-eECfTwFS0x2sXBxRdLkP--




More information about the wine-patches mailing list