Commit da460822 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Use heap_alloc_zero in HTMLElementCollection_Create.

parent 32ac703e
......@@ -1832,7 +1832,7 @@ IHTMLElementCollection *create_all_collection(HTMLDOMNode *node)
static IHTMLElementCollection *HTMLElementCollection_Create(IUnknown *ref_unk,
HTMLElement **elems, DWORD len)
{
HTMLElementCollection *ret = heap_alloc(sizeof(HTMLElementCollection));
HTMLElementCollection *ret = heap_alloc_zero(sizeof(HTMLElementCollection));
ret->lpHTMLElementCollectionVtbl = &HTMLElementCollectionVtbl;
ret->ref = 1;
......
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