ws2_32/tests: Initialize a test buffer (valgrind).
This commit is contained in:
parent
b0f1feb4f0
commit
79d29e2347
|
@ -6833,6 +6833,7 @@ static void test_completion_port(void)
|
||||||
GUID acceptExGuid = WSAID_ACCEPTEX;
|
GUID acceptExGuid = WSAID_ACCEPTEX;
|
||||||
LPFN_ACCEPTEX pAcceptEx = NULL;
|
LPFN_ACCEPTEX pAcceptEx = NULL;
|
||||||
|
|
||||||
|
memset(buf, 0, sizeof(buf));
|
||||||
previous_port = CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0);
|
previous_port = CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0);
|
||||||
ok( previous_port != NULL, "Failed to create completion port %u\n", GetLastError());
|
ok( previous_port != NULL, "Failed to create completion port %u\n", GetLastError());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue