ws2_32: Initialise buffer eventually passed into send to zero in test_write_events.
This commit is contained in:
parent
f7624cbfbc
commit
0d10ddd4d5
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue