diff options
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. |