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

Alexandre Julliard julliard at winehq.org
Wed Feb 1 11:23:26 CST 2012


Module: wine
Branch: master
Commit: f09e4ce269d98b82516a9d7938dfa59271d0c61a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f09e4ce269d98b82516a9d7938dfa59271d0c61a

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Feb  1 13:58:54 2012 +0100

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

---

 dlls/mshtml/htmlelem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c
index 030a0d2..c245c11 100644
--- a/dlls/mshtml/htmlelem.c
+++ b/dlls/mshtml/htmlelem.c
@@ -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)




More information about the wine-cvs mailing list