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

Unified Diff: src/v8.cc

Issue 505103003: Fix memory leak. Make "V8 Linux - memcheck" build bot happy. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index 13a576b1c94d7ef1974aa0f7c30a58210c4c31c4..5276949c0dbfc5a9cd689caeb80f16fb8027fce2 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -54,6 +54,7 @@ void V8::TearDown() {
Isolate::GlobalTearDown();
Sampler::TearDown();
+ FlagList::ResetAllFlags(); // Frees memory held by string arguments.
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698