Nikolay Sivov : msxml3: Fix interface leak (Valgrind).

Alexandre Julliard julliard at winehq.org
Mon Jan 24 11:07:31 CST 2011


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun Jan 23 14:56:28 2011 +0300

msxml3: Fix interface leak (Valgrind).

---

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

diff --git a/dlls/msxml3/cdata.c b/dlls/msxml3/cdata.c
index d0984c1..1e7ca1f 100644
--- a/dlls/msxml3/cdata.c
+++ b/dlls/msxml3/cdata.c
@@ -828,6 +828,7 @@ static HRESULT WINAPI domcdata_splitText(
                 {
                     IXMLDOMCDATASection_deleteData(iface, 0, offset);
                     hr = IXMLDOMNode_appendChild(parent, (IXMLDOMNode*)*txtNode, NULL);
+                    IXMLDOMNode_Release(parent);
                 }
             }
             SysFreeString(data);




More information about the wine-cvs mailing list