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

Unified Diff: runtime/bin/platform.cc

Issue 1813943004: Fix dangling pointer (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add test Created 4 years, 9 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 | « runtime/bin/platform.h ('k') | tests/standalone/regress_26031_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/platform.cc
diff --git a/runtime/bin/platform.cc b/runtime/bin/platform.cc
index 75324f1077792a113b2d16226d7725df4db4b6a7..716ef2932933027b638fd1031e1d3243151886f2 100644
--- a/runtime/bin/platform.cc
+++ b/runtime/bin/platform.cc
@@ -13,7 +13,7 @@ namespace dart {
namespace bin {
const char* Platform::executable_name_ = NULL;
-const char* Platform::resolved_executable_name_ = NULL;
+char* Platform::resolved_executable_name_ = NULL;
int Platform::script_index_ = 1;
char** Platform::argv_ = NULL;
« no previous file with comments | « runtime/bin/platform.h ('k') | tests/standalone/regress_26031_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698