From: Paul Gofman pgofman@codeweavers.com
Suggested by Gabriel Ivăncescu. --- dlls/mshtml/htmldoc.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c index 0ed6b1d6710..32c7f411e27 100644 --- a/dlls/mshtml/htmldoc.c +++ b/dlls/mshtml/htmldoc.c @@ -5841,6 +5841,7 @@ HRESULT get_document_node(nsIDOMDocument *dom_document, HTMLDocumentNode **ret)
if(!node) { ERR("document not initialized\n"); + *ret = NULL; return E_FAIL; }