From fb140649f4aa923e0aaa63107c2806dc7e78a645 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 21 Jun 2008 10:32:12 +0200 Subject: [PATCH] ws2_32/tests: Initialize memory to send. --- dlls/ws2_32/tests/sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 2e0ee2897dd..79d2aebc089 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -2021,7 +2021,7 @@ static void test_send(void) goto end; } - buffer = HeapAlloc(GetProcessHeap(), 0, buflen); + buffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, buflen); if (buffer == NULL) { ok(0, "HeapAlloc failed, error %d\n", GetLastError());