From 984bff499edcd915cbd8ae6e9f7529ef3c89b0fd Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 18 Aug 2008 15:53:57 +0200 Subject: [PATCH] mshtml: Use heap_alloc_zero for HTMLWindow allocation. It's needed by DispatchEx implementation. --- dlls/mshtml/htmlwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c index 043e4e979ec..76efb9dcb8c 100644 --- a/dlls/mshtml/htmlwindow.c +++ b/dlls/mshtml/htmlwindow.c @@ -1281,7 +1281,7 @@ void setup_nswindow(HTMLWindow *This) HTMLWindow *HTMLWindow_Create(HTMLDocument *doc) { - HTMLWindow *ret = heap_alloc(sizeof(HTMLWindow)); + HTMLWindow *ret = heap_alloc_zero(sizeof(HTMLWindow)); ret->lpHTMLWindow2Vtbl = &HTMLWindow2Vtbl; ret->lpHTMLWindow3Vtbl = &HTMLWindow3Vtbl;