Module: wine Branch: master Commit: 0d10ddd4d54e5094d9fddce90b937a72a7b04078 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0d10ddd4d54e5094d9fddce90b...
Author: Rob Shearman robertshearman@gmail.com Date: Tue Dec 1 13:14:06 2009 +0000
ws2_32: Initialise buffer eventually passed into send to zero in test_write_events.
---
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 c17b894..fbe55f6 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -2589,7 +2589,7 @@ static void test_write_events(void) goto end; }
- buffer = HeapAlloc(GetProcessHeap(), 0, bufferSize); + buffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, bufferSize); if (buffer == NULL) { ok(0, "could not allocate memory for test\n");