mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 12:59:21 +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:
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…
x
Reference in New Issue
Block a user