gameux: Zero initialize the fixed length arrays.
This commit is contained in:
parent
3f7312fdc1
commit
173f8d23b8
|
@ -998,7 +998,7 @@ static HRESULT create_IGameStatistics(GameStatisticsImpl** ppStats)
|
|||
{
|
||||
TRACE("(%p)\n", ppStats);
|
||||
|
||||
*ppStats = HeapAlloc( GetProcessHeap(), 0, sizeof(**ppStats));
|
||||
*ppStats = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(**ppStats));
|
||||
if(!(*ppStats))
|
||||
return E_OUTOFMEMORY;
|
||||
|
||||
|
|
Loading…
Reference in New Issue