Marcus Meissner : mshtml: Initialize nswindow in create_doc_from_nsdoc.
Alexandre Julliard
julliard at winehq.org
Thu Oct 16 06:07:12 CDT 2008
Module: wine
Branch: master
Commit: e69eb4716ce1916a4f612c0cf4d5e6859650a782
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e69eb4716ce1916a4f612c0cf4d5e6859650a782
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Thu Oct 16 09:33:07 2008 +0200
mshtml: Initialize nswindow in create_doc_from_nsdoc.
---
dlls/mshtml/htmldoc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c
index fcabaa1..7fc6f30 100644
--- a/dlls/mshtml/htmldoc.c
+++ b/dlls/mshtml/htmldoc.c
@@ -1664,7 +1664,7 @@ HRESULT create_doc_from_nsdoc(nsIDOMHTMLDocument *nsdoc, HTMLDocument **ret)
HRESULT HTMLDocument_Create(IUnknown *pUnkOuter, REFIID riid, void** ppvObject)
{
HTMLDocument *doc;
- nsIDOMWindow *nswindow;
+ nsIDOMWindow *nswindow = NULL;
HRESULT hres;
TRACE("(%p %s %p)\n", pUnkOuter, debugstr_guid(riid), ppvObject);
More information about the wine-cvs
mailing list