summaryrefslogtreecommitdiff
path: root/tools/snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tools/snapshot')
-rw-r--r--tools/snapshot/snapshot_builder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/snapshot/snapshot_builder.cc b/tools/snapshot/snapshot_builder.cc
index 7f409a8fcd..8a97513ba9 100644
--- a/tools/snapshot/snapshot_builder.cc
+++ b/tools/snapshot/snapshot_builder.cc
@@ -99,7 +99,7 @@ std::string SnapshotBuilder::Generate(
// creator is still alive.
main_instance->Dispose();
result = FormatBlob(&blob, isolate_data_indexes);
- delete blob.data;
+ delete[] blob.data;
}
per_process::v8_platform.Platform()->UnregisterIsolate(isolate);