Jacek Caban : mshtml: Fixed ref count leak.
Alexandre Julliard
julliard at winehq.org
Mon Oct 15 11:27:51 CDT 2007
Module: wine
Branch: master
Commit: 697d65305b39f143fbbb3cfe72dfbf0c67c5bed4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=697d65305b39f143fbbb3cfe72dfbf0c67c5bed4
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sat Oct 13 03:58:06 2007 +0200
mshtml: Fixed ref count leak.
---
dlls/mshtml/txtrange.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/txtrange.c b/dlls/mshtml/txtrange.c
index 1323540..faea069 100644
--- a/dlls/mshtml/txtrange.c
+++ b/dlls/mshtml/txtrange.c
@@ -880,6 +880,7 @@ static HRESULT WINAPI HTMLTxtRange_put_text(IHTMLTxtRange *iface, BSTR v)
nsAString_Init(&text_str, v);
nsres = nsIDOMDocument_CreateTextNode(nsdoc, &text_str, &text_node);
+ nsIDOMDocument_Release(nsdoc);
nsAString_Finish(&text_str);
if(NS_FAILED(nsres)) {
ERR("CreateTextNode failed: %08x\n", nsres);
More information about the wine-cvs
mailing list