Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Unified Diff: runtime/bin/main.cc

Issue 2164383002: Speculative fix for timeouts (hangs) in (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index 0edd37e0209326f8eba577a6a1ed2d1ab737fc0b..072b0534051cf26bac86975c489f8584e54eeb6b 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -1111,7 +1111,7 @@ static void ReadSnapshotFile(const char* snapshot_directory,
}
DartUtils::CloseFile(file);
if (concat != NULL) {
- delete concat;
+ delete[] concat;
}
}
@@ -1140,7 +1140,7 @@ static void ReadExecutableSnapshotFile(const char* snapshot_directory,
Platform::Exit(kErrorExitCode);
}
if (concat != NULL) {
- delete concat;
+ delete[] concat;
}
}
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698