Huw Davies : gameux: Zero initialize the fixed length arrays.
Module: wine Branch: master Commit: 173f8d23b89ec32ba4298108d1e76d41fae8dc81 URL: http://source.winehq.org/git/wine.git/?a=commit;h=173f8d23b89ec32ba4298108d1... Author: Huw Davies <huw(a)codeweavers.com> Date: Fri May 6 12:50:39 2011 +0100 gameux: Zero initialize the fixed length arrays. --- dlls/gameux/gamestatistics.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/gameux/gamestatistics.c b/dlls/gameux/gamestatistics.c index 63b8c8f..65aa0f7 100644 --- a/dlls/gameux/gamestatistics.c +++ b/dlls/gameux/gamestatistics.c @@ -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;
participants (1)
-
Alexandre Julliard