diff options
author | Tom Cherry <tomcherry@google.com> | 2018-02-20 15:40:59 -0800 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2018-02-20 16:02:13 -0800 |
commit | 5fe73268f3813144ed7ae29d5b91c26ae8b2f0ca (patch) | |
tree | 5b421af08544f44b179ae53585ec604b9fed88cf /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 60ddedff0b34f0058780b8cdbdeacef667526d08 (diff) |
Do not munmap in MmapFile::~MmapFile
Having any destructor with a global variable in bionic is causing
some issues. Since we don't actually need to munmap in this case, we
remove the destructor to work around that issue.
A small class is used to still munmap during tests.
Bug: 73485611
Test: bionic unit tests
Change-Id: Ibcd45e9b1ab22d187ecfc2738bb87244250d81ea
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions