Commit 3fe5a1eb authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

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

the function doesn't set them to anything.
parent ca46c6a8
......@@ -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;
......
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