commit | 7b8a265fc316be562176a0fb27ecf943f43a6229 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Nov 11 17:11:25 2016 -0800 |
committer | Andreas Gampe <agampe@google.com> | Fri Nov 11 17:11:25 2016 -0800 |
tree | 42d72a282bcd0c91384a9cbc5bd817ed9a752416 | |
parent | 5a92027262a216614c82ec841adcfc6b4627d07b [diff] [blame] |
ART: Fix alloc-dealloc mismatch Mark type as array. Bug: 31098551 Test: m test-art-host Change-Id: Ia27a997e838a408cc68f0d9fe58734155e709e85
diff --git a/runtime/jit/offline_profiling_info.h b/runtime/jit/offline_profiling_info.h index 0b26f9b..fdca078 100644 --- a/runtime/jit/offline_profiling_info.h +++ b/runtime/jit/offline_profiling_info.h
@@ -152,7 +152,7 @@ uint8_t* Get() { return storage_.get(); } private: - std::unique_ptr<uint8_t> storage_; + std::unique_ptr<uint8_t[]> storage_; uint8_t* ptr_current_; uint8_t* ptr_end_; };