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

Unified Diff: src/builtins.cc

Issue 669164: Explicitly release allocated memory as Vector doesn't do that in dtor. (Closed)
Patch Set: Created 10 years, 10 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/builtins.cc
diff --git a/src/builtins.cc b/src/builtins.cc
index 00044404dd18b3431bf2c54f4687869669c8c565..a8ba818c412a8985cf26a9003776454f167d3918 100644
--- a/src/builtins.cc
+++ b/src/builtins.cc
@@ -339,6 +339,7 @@ static Object* CallJsBuiltin(const char* name,
n_args,
argv.start(),
&pending_exception);
+ argv.Dispose();
if (pending_exception) return Failure::Exception();
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