Marcus Meissner : ws2_32/tests: Initialize memory to send.

Alexandre Julliard julliard at winehq.org
Sat Jun 21 05:39:18 CDT 2008


Module: wine
Branch: master
Commit: fb140649f4aa923e0aaa63107c2806dc7e78a645
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fb140649f4aa923e0aaa63107c2806dc7e78a645

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sat Jun 21 10:32:12 2008 +0200

ws2_32/tests: Initialize memory to send.

---

 dlls/ws2_32/tests/sock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 2e0ee28..79d2aeb 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());




More information about the wine-cvs mailing list