diff options
author | Christopher Ferris <cferris@google.com> | 2019-01-22 18:51:07 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2019-01-23 09:49:28 -0800 |
commit | 4aec66e8107bd2bb62a9f42f02abd29cb0445168 (patch) | |
tree | e7c54572bda4f2a0ddb4dc48304bc16da7f42586 /libunwindstack/tests/MemoryCacheTest.cpp | |
parent | a5e0d695fa9ac8624681fb9effc51bbe6f75853e (diff) |
Fix memory leak in UnwinderFromPid object.
Actually make the destructor virtual so that objects in
UnwinderFromPid get freed.
Also, explicitly make the DexFiles and JitDebug destructors virtual.
Bug: 123099840
Test: Ran UnwindTest.local_from_pid thousands of times.
Change-Id: I8bf11c0eb3587fa82f5f14f4723ea5c91da0fd46
Diffstat (limited to 'libunwindstack/tests/MemoryCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions