Nikolay Sivov : msxml3/tests: Fix interface leak.

Alexandre Julliard julliard at winehq.org
Fri Jan 22 08:26:49 CST 2010


Module: wine
Branch: master
Commit: 97c2a25472784b79a3bb4e5bbeb68800800c5e20
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=97c2a25472784b79a3bb4e5bbeb68800800c5e20

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Thu Jan 21 02:24:29 2010 +0300

msxml3/tests: Fix interface leak.

---

 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);




More information about the wine-cvs mailing list