mshtml: Properly handle out of memory in IHTMLElement::get_outerHTML.

This commit is contained in:
Jacek Caban 2012-02-01 13:58:54 +01:00 committed by Alexandre Julliard
parent 90f7c8f848
commit f09e4ce269

View file

@ -1170,7 +1170,7 @@ static HRESULT WINAPI HTMLElement_get_outerHTML(IHTMLElement *iface, BSTR *p)
nsAString_Finish(&html_str);
TRACE("ret %s\n", debugstr_w(*p));
return S_OK;
return hres;
}
static HRESULT WINAPI HTMLElement_put_outerText(IHTMLElement *iface, BSTR v)