commit | d6065142caf9de205fba35a85b82f95e55df2253 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Thu Aug 09 07:29:05 2018 -0700 |
committer | Alex Light <allight@google.com> | Thu Aug 09 07:29:05 2018 -0700 |
tree | 8a579ced92b4c2a83cc1808dd5f3909f91823b19 | |
parent | 6e99db490fabbc38d96cc618a7aa82a99b3d07cf [diff] |
Remove copy and leak of dex data. To implement class redefinition we need to keep around a copy of the initial redefinition. We moved this to be done in ArtClassDefinition but left code that allocated and copied the buffer in RedefineClasses. This code did nothing but leak memory. Test: ./test.py --host Change-Id: Ide5eafc7eda57eb5b1fc02eccb26091eacfae84f