4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-19 04:49:25 +08:00

Cygwin: smallprint.cc: Drop HEAP_ZERO_MEMORY

Leftover from testing.

Reported-by: Noel Grandin <noelgrandin@gmail.com>
Fixes: 07ec40170a32 ("Cygwin: smallprint.cc: Convert tmpbuf to lockless")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2022-08-22 17:58:53 +02:00
parent 88e2f2aad1
commit c3e92052bb

View File

@ -62,7 +62,7 @@ public:
operator WCHAR * ()
{
if (!buf)
buf = (PWCHAR) HeapAlloc (GetProcessHeap (), HEAP_ZERO_MEMORY,
buf = (PWCHAR) HeapAlloc (GetProcessHeap (), 0,
NT_MAX_PATH * sizeof (WCHAR));
return buf;
}