Module: wine Branch: master Commit: 984bff499edcd915cbd8ae6e9f7529ef3c89b0fd URL: http://source.winehq.org/git/wine.git/?a=commit;h=984bff499edcd915cbd8ae6e9f...
Author: Jacek Caban jacek@codeweavers.com Date: Mon Aug 18 15:53:57 2008 +0200
mshtml: Use heap_alloc_zero for HTMLWindow allocation.
It's needed by DispatchEx implementation.
---
dlls/mshtml/htmlwindow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c index 043e4e9..76efb9d 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;