Skip to content

Commit 97f543c

Browse files
committed
tools: fix alloc-dealloc-mismatch in snapshot_builder.cc
Fixes: #37442
1 parent 08a2383 commit 97f543c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/snapshot/snapshot_builder.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ std::string SnapshotBuilder::Generate(
134134
FreeEnvironment(env);
135135
main_instance->Dispose();
136136
result = FormatBlob(&blob, isolate_data_indexes, env_info);
137-
delete[] blob.data;
137+
delete blob.data;
138138
}
139139

140140
per_process::v8_platform.Platform()->UnregisterIsolate(isolate);

0 commit comments

Comments
 (0)