Skip to content

Commit

Permalink
tools: fix alloc-dealloc-mismatch in snapshot_builder.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
RaisinTen committed Feb 19, 2021
1 parent 08a2383 commit 97f543c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/snapshot/snapshot_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 97f543c

Please sign in to comment.