The last freelist entry should not be discarded when using OS_WIN.
DiscardVirtualMemory makes the contents of discarded memory undefined. c.f. https://msdn.microsoft.com/ja-jp/library/windows/desktop/dn781432(v=vs.85).aspx BUG= Change-Id: Ifd06e6f75271dc6a38cf0a34027cb20f1a887cfe Reviewed-on: https://chromium-review.googlesource.com/571621 Commit-Queue: Takashi Sakamoto <tasak@google.com> Reviewed-by:Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#486700}
Showing
Please register or sign in to comment