ws2_32/tests: Initialize a test buffer (valgrind).

This commit is contained in:
Bruno Jesus 2014-06-12 01:30:38 -03:00 committed by Alexandre Julliard
parent b0f1feb4f0
commit 79d29e2347
1 changed files with 1 additions and 0 deletions

View File

@ -6833,6 +6833,7 @@ static void test_completion_port(void)
GUID acceptExGuid = WSAID_ACCEPTEX;
LPFN_ACCEPTEX pAcceptEx = NULL;
memset(buf, 0, sizeof(buf));
previous_port = CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0);
ok( previous_port != NULL, "Failed to create completion port %u\n", GetLastError());