ws2_32/tests: Initialize memory to send.
This commit is contained in:
parent
2879c39d4f
commit
fb140649f4
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue