oleaut32: Zero initialize the stack used on the server side of typelib marshalling.

This is needed to allow for NDR marshalling rules in reusing memory on
the client side.
This commit is contained in:
Rob Shearman 2009-11-15 17:12:42 +00:00 committed by Alexandre Julliard
parent 1f3a14e767
commit b5139f45b3
1 changed files with 1 additions and 1 deletions

View File

@ -2105,7 +2105,7 @@ TMStubImpl_Invoke(
nrofargs = 0;
for (i=0;i<fdesc->cParams;i++)
nrofargs += _argsize(&fdesc->lprgelemdescParam[i].tdesc, tinfo);
args = HeapAlloc(GetProcessHeap(),0,(nrofargs+1)*sizeof(DWORD));
args = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,(nrofargs+1)*sizeof(DWORD));
if (!args)
{
hres = E_OUTOFMEMORY;