Clear out parameters to stop bad pointers lying around in memory if

the function doesn't set them to anything.
This commit is contained in:
Robert Shearman 2005-06-10 19:31:45 +00:00 committed by Alexandre Julliard
parent ca46c6a8ae
commit 3fe5a1eb62
1 changed files with 1 additions and 1 deletions

View File

@ -4800,7 +4800,7 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
}
args = HeapAlloc(GetProcessHeap(),0,sizeof(DWORD)*numargs);
args2 = HeapAlloc(GetProcessHeap(),0,sizeof(DWORD)*numargs2);
args2 = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(DWORD)*numargs2);
args[0] = (DWORD)pIUnk;
argspos = 1; args2pos = 0;