Commit 984bff49 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Use heap_alloc_zero for HTMLWindow allocation.

It's needed by DispatchEx implementation.
parent e1e6caf8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment