diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2022-08-22 18:58:53 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2022-08-22 18:58:53 +0300 |
commit | c3e92052bbaa861d35646e7f9ceb813c8be26a64 (patch) | |
tree | e36bc0c2a1c1092604274356ce30ca0120d2f965 | |
parent | 88e2f2aad115f9dc59e336d3d176ab88161db9e3 (diff) |
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>
-rw-r--r-- | winsup/cygwin/smallprint.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/smallprint.cc b/winsup/cygwin/smallprint.cc index 0e8c6d9a9..1e89f1ce0 100644 --- a/winsup/cygwin/smallprint.cc +++ b/winsup/cygwin/smallprint.cc @@ -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; } |