summaryrefslogtreecommitdiff
path: root/test/MultiDexModifiedSecondary/Main.java
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2015-04-24 17:23:53 -0700
committerChristopher Ferris <cferris@google.com>2015-04-27 11:45:29 -0700
commit8a35405e00ad3a722750e37c8eae1c3e1cc0afb0 (patch)
tree62487b86a0e6bcfc7d2ba948f289956c6d43d3c5 /test/MultiDexModifiedSecondary/Main.java
parentd74a1bf310a6a5ad2d770fcd76735cbc617d64eb (diff)
Fix mismatched malloc/free delete/new.
Modify the monitor code to override the delete operator. The problem is the new operator is overloaded to return a pointer returned by posix_memalign, but then it's freed with a delete, not a free call. Also, fix the debugger code to use the [] for a std::unique_ptr to match how the value is actually allocated. Both problems found by ASAN. Bug: 18202869 Change-Id: I2f3a2c02a7f35399b7ba6717b08a035089fab00d
Diffstat (limited to 'test/MultiDexModifiedSecondary/Main.java')
0 files changed, 0 insertions, 0 deletions