mshtml: Use proper macro to release nstext.
This commit is contained in:
parent
b6cfd58170
commit
66ee1fc98d
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue