Commit 41603e00 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

mshtml: Release nsISupports object in get_node function.

parent 9fd64018
...@@ -1212,6 +1212,7 @@ HRESULT get_node(HTMLDocumentNode *This, nsIDOMNode *nsnode, BOOL create, HTMLDO ...@@ -1212,6 +1212,7 @@ HRESULT get_node(HTMLDocumentNode *This, nsIDOMNode *nsnode, BOOL create, HTMLDO
if(unk) { if(unk) {
*ret = get_node_obj((IHTMLDOMNode*)unk); *ret = get_node_obj((IHTMLDOMNode*)unk);
nsISupports_Release(unk);
return NS_OK; return NS_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment