mshtml: Use heap_alloc_zero for HTMLWindow allocation.

It's needed by DispatchEx implementation.
This commit is contained in:
Jacek Caban 2008-08-18 15:53:57 +02:00 committed by Alexandre Julliard
parent e1e6caf81c
commit 984bff499e

View file

@ -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;