Commit 0d10ddd4 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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

parent f7624cbf
......@@ -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");
......
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