commit | 4aec66e8107bd2bb62a9f42f02abd29cb0445168 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Tue Jan 22 18:51:07 2019 -0800 |
committer | Christopher Ferris <cferris@google.com> | Wed Jan 23 09:49:28 2019 -0800 |
tree | e7c54572bda4f2a0ddb4dc48304bc16da7f42586 | |
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