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

Unified Diff: src/d8.cc

Issue 652403003: Fix leak in d8. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index b315d0b378c1c4eb68b557a16431a1751bde5b96..c9de287876baec03e44ca5d509df42f1ffdf8e48 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -219,6 +219,7 @@ ScriptCompiler::CachedData* CompileForCachedData(
}
temp_isolate->Dispose();
delete[] source_buffer;
+ delete[] name_buffer;
return result;
}
« 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