mshtml: Release nsISupports object in get_node function.
This commit is contained in:
parent
9fd6401898
commit
41603e0064
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue