mshtml: Fixed ref count leak.

oldstable
Jacek Caban 2007-10-13 03:58:06 +02:00 committed by Alexandre Julliard
parent 512d09245d
commit 697d65305b
1 changed files with 1 additions and 0 deletions

View File

@ -880,6 +880,7 @@ static HRESULT WINAPI HTMLTxtRange_put_text(IHTMLTxtRange *iface, BSTR v)
nsAString_Init(&text_str, v);
nsres = nsIDOMDocument_CreateTextNode(nsdoc, &text_str, &text_node);
nsIDOMDocument_Release(nsdoc);
nsAString_Finish(&text_str);
if(NS_FAILED(nsres)) {
ERR("CreateTextNode failed: %08x\n", nsres);