Commit fb140649 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

ws2_32/tests: Initialize memory to send.

parent 2879c39d
...@@ -2021,7 +2021,7 @@ static void test_send(void) ...@@ -2021,7 +2021,7 @@ static void test_send(void)
goto end; goto end;
} }
buffer = HeapAlloc(GetProcessHeap(), 0, buflen); buffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, buflen);
if (buffer == NULL) if (buffer == NULL)
{ {
ok(0, "HeapAlloc failed, error %d\n", GetLastError()); ok(0, "HeapAlloc failed, error %d\n", GetLastError());
......
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