ws2_32: Initialise buffer eventually passed into send to zero in test_write_events.

This commit is contained in:
Rob Shearman 2009-12-01 13:14:06 +00:00 committed by Alexandre Julliard
parent f7624cbfbc
commit 0d10ddd4d5
1 changed files with 1 additions and 1 deletions

View File

@ -2589,7 +2589,7 @@ static void test_write_events(void)
goto end;
}
buffer = HeapAlloc(GetProcessHeap(), 0, bufferSize);
buffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, bufferSize);
if (buffer == NULL)
{
ok(0, "could not allocate memory for test\n");