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

Unified Diff: src/global-handles.cc

Issue 22371002: delete eternal handle blocks correctly (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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/global-handles.cc
diff --git a/src/global-handles.cc b/src/global-handles.cc
index c75e24f63705873755ee9de03441e505e4cd6211..59bddb24a4e566bfc85460ff04cb6a594334a6ff 100644
--- a/src/global-handles.cc
+++ b/src/global-handles.cc
@@ -1258,7 +1258,7 @@ EternalHandles::EternalHandles() : size_(0) {
EternalHandles::~EternalHandles() {
- for (int i = 0; i < blocks_.length(); i++) delete blocks_[i];
+ for (int i = 0; i < blocks_.length(); i++) delete[] blocks_[i];
}
« 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