Nikolay Sivov : gameux: Call interface methods properly.

Alexandre Julliard julliard at winehq.org
Mon Aug 20 14:16:17 CDT 2012


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sun Aug 19 19:41:52 2012 +0400

gameux: Call interface methods properly.

---

 dlls/gameux/gameexplorer.c   |    2 +-
 dlls/gameux/gamestatistics.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/gameux/gameexplorer.c b/dlls/gameux/gameexplorer.c
index 556bf36..1f51f12 100644
--- a/dlls/gameux/gameexplorer.c
+++ b/dlls/gameux/gameexplorer.c
@@ -376,7 +376,7 @@ static HRESULT GAMEUX_ParseGameDefinition(
                     IXMLDOMElement_Release(nextElement);
                 }
 
-                IXMLDOMElement_Release(nextNode);
+                IXMLDOMNode_Release(nextNode);
             }
         }
         while(hr == S_OK);
diff --git a/dlls/gameux/gamestatistics.c b/dlls/gameux/gamestatistics.c
index 0116304..f069708 100644
--- a/dlls/gameux/gamestatistics.c
+++ b/dlls/gameux/gamestatistics.c
@@ -261,7 +261,7 @@ static HRESULT GAMEUX_updateStatisticsFile(struct GAMEUX_STATS *stats)
                     SysFreeString(V_BSTR(&vValue));
 
                     if(SUCCEEDED(hr))
-                        hr = IXMLDOMElement_appendChild(categoryNode, statisticsNode, &statisticsNode);
+                        hr = IXMLDOMNode_appendChild(categoryNode, statisticsNode, &statisticsNode);
 
                     IXMLDOMElement_Release(statisticsElement);
                     IXMLDOMNode_Release(statisticsNode);




More information about the wine-cvs mailing list