mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 15:33:38 +00:00
mshtml: Fix text node leak in TextRange's text setter.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
9bb0dbc1e2
commit
8ac9be458b
|
@ -969,6 +969,7 @@ static HRESULT WINAPI HTMLTxtRange_put_text(IHTMLTxtRange *iface, BSTR v)
|
|||
if(NS_FAILED(nsres))
|
||||
ERR("SetEndAfter failed: %08lx\n", nsres);
|
||||
|
||||
nsIDOMText_Release(text_node);
|
||||
return IHTMLTxtRange_collapse(&This->IHTMLTxtRange_iface, VARIANT_FALSE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue