Cygwin: smallprint.cc: Drop HEAP_ZERO_MEMORY

Leftover from testing.

Reported-by: Noel Grandin <noelgrandin@gmail.com>
Fixes: 07ec40170a ("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
1 changed files with 1 additions and 1 deletions

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;
}