summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2018-02-20 15:40:59 -0800
committerTom Cherry <tomcherry@google.com>2018-02-20 16:02:13 -0800
commit5fe73268f3813144ed7ae29d5b91c26ae8b2f0ca (patch)
tree5b421af08544f44b179ae53585ec604b9fed88cf /libc/malloc_hooks/malloc_hooks.cpp
parent60ddedff0b34f0058780b8cdbdeacef667526d08 (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