summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2018-02-20 15:50:04 -0800
committerTom Cherry <tomcherry@google.com>2018-02-20 15:50:04 -0800
commitcb4d42173e008217ecb75ef7669d1c41be6ae0c7 (patch)
tree89b605ab10eaecfeed80a39389a95b053c66ae87 /libc/malloc_debug/malloc_debug.cpp
parentd5172fced0f88114e21086db5defaee64371de32 (diff)
Fix mmap leak in MmapFile
If the mmap'ed file doesn't end in a new line, previously we'd leak the mmap'ed region. This change now munmap's the region. Test: unit tests Change-Id: If28d3d9a6b1b9c54123beecb3bbbe8ed984ca81d
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions