diff options
| author | 2014-09-10 23:43:32 +0000 | |
|---|---|---|
| committer | 2014-09-10 23:43:32 +0000 | |
| commit | b9620f305c79914f5159cf9279a7ccd173af1186 (patch) | |
| tree | edfb15d759f16808d575cb849302fc2fd22d6709 /compiler/utils/assembler.cc | |
| parent | 575a5649715ee50e0de8a107e8a5379d4c465382 (diff) | |
| parent | 928f72bd75c385ba2708c58521171a77264d4486 (diff) | |
Merge "ART: Fix things for valgrind"
Diffstat (limited to 'compiler/utils/assembler.cc')
| -rw-r--r-- | compiler/utils/assembler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/utils/assembler.cc b/compiler/utils/assembler.cc index 68b784a25c..e3045e1a7b 100644 --- a/compiler/utils/assembler.cc +++ b/compiler/utils/assembler.cc @@ -92,6 +92,7 @@ void AssemblerBuffer::ExtendCapacity() { // Compute the relocation delta and switch to the new contents area. ptrdiff_t delta = new_contents - contents_; + delete[] contents_; contents_ = new_contents; // Update the cursor and recompute the limit. |