| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index df31e70d5c0fcfdefe87e0226717818e8d9ba756..97751470426cc62109970a2f17477e364c9e5ba4 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -689,7 +689,9 @@ void Runtime::FreeArrayBuffer(Isolate* isolate,
|
| isolate->heap()->AdjustAmountOfExternalAllocatedMemory(
|
| -static_cast<intptr_t>(allocated_length));
|
| CHECK(V8::ArrayBufferAllocator() != NULL);
|
| - V8::ArrayBufferAllocator()->Free(phantom_array_buffer->backing_store());
|
| + V8::ArrayBufferAllocator()->Free(
|
| + phantom_array_buffer->backing_store(),
|
| + allocated_length);
|
| }
|
|
|
|
|
|
|