Module: wine Branch: master Commit: 79d29e2347b7d1780bc1b71f2dd6c64e564f6e61 URL: http://source.winehq.org/git/wine.git/?a=commit;h=79d29e2347b7d1780bc1b71f2d...
Author: Bruno Jesus 00cpxxx@gmail.com Date: Thu Jun 12 01:30:38 2014 -0300
ws2_32/tests: Initialize a test buffer (valgrind).
---
dlls/ws2_32/tests/sock.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 0bbce27..fb5ee1d 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -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());