Jacek Caban : mshtml: Use proper macro to release nstext.

Alexandre Julliard julliard at winehq.org
Thu Jun 28 13:55:17 CDT 2012


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Jun 28 11:20:14 2012 +0200

mshtml: Use proper macro to release nstext.

---

 dlls/mshtml/htmldoc3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/htmldoc3.c b/dlls/mshtml/htmldoc3.c
index f930bcd..5241325 100644
--- a/dlls/mshtml/htmldoc3.c
+++ b/dlls/mshtml/htmldoc3.c
@@ -130,7 +130,7 @@ static HRESULT WINAPI HTMLDocument3_createTextNode(IHTMLDocument3 *iface, BSTR t
     }
 
     hres = HTMLDOMTextNode_Create(This->doc_node, (nsIDOMNode*)nstext, &node);
-    nsIDOMElement_Release(nstext);
+    nsIDOMText_Release(nstext);
     if(FAILED(hres))
         return hres;
 




More information about the wine-cvs mailing list