Piotr Caban : mshtml: Release nsISupports object in get_node function.
Alexandre Julliard
julliard at winehq.org
Mon Apr 29 13:55:24 CDT 2013
Module: wine
Branch: master
Commit: 41603e00641de1699a595e5c1ba70baecfed0f26
URL: http://source.winehq.org/git/wine.git/?a=commit;h=41603e00641de1699a595e5c1ba70baecfed0f26
Author: Piotr Caban <piotr at codeweavers.com>
Date: Mon Apr 29 11:52:18 2013 +0200
mshtml: Release nsISupports object in get_node function.
---
dlls/mshtml/htmlnode.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/htmlnode.c b/dlls/mshtml/htmlnode.c
index 2169c33..00468d0 100644
--- a/dlls/mshtml/htmlnode.c
+++ b/dlls/mshtml/htmlnode.c
@@ -1212,6 +1212,7 @@ HRESULT get_node(HTMLDocumentNode *This, nsIDOMNode *nsnode, BOOL create, HTMLDO
if(unk) {
*ret = get_node_obj((IHTMLDOMNode*)unk);
+ nsISupports_Release(unk);
return NS_OK;
}
More information about the wine-cvs
mailing list