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:
parent
88e2f2aad1
commit
c3e92052bb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue