mshtml: Use heap_alloc_zero to allocate OmNavigator.
This commit is contained in:
parent
590b185e3a
commit
0cb99eef5a
|
@ -315,7 +315,7 @@ IOmNavigator *OmNavigator_Create(void)
|
|||
{
|
||||
OmNavigator *ret;
|
||||
|
||||
ret = heap_alloc(sizeof(*ret));
|
||||
ret = heap_alloc_zero(sizeof(*ret));
|
||||
ret->lpIOmNavigatorVtbl = &OmNavigatorVtbl;
|
||||
ret->ref = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue