diff --git a/tools/snapshot/snapshot_builder.cc b/tools/snapshot/snapshot_builder.cc index f97c646dfa17c4..5fe8196beb944a 100644 --- a/tools/snapshot/snapshot_builder.cc +++ b/tools/snapshot/snapshot_builder.cc @@ -134,7 +134,7 @@ std::string SnapshotBuilder::Generate( FreeEnvironment(env); main_instance->Dispose(); result = FormatBlob(&blob, isolate_data_indexes, env_info); - delete[] blob.data; + delete blob.data; } per_process::v8_platform.Platform()->UnregisterIsolate(isolate);