Reviewers: Michael Starzinger,

Message:
Committed patchset #1 manually as r16063 (presubmit successful).

Description:
delete eternal handle blocks correctly

[email protected]
BUG=

Committed: https://code.google.com/p/v8/source/detail?r=16063

Please review this at https://codereview.chromium.org/22371002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/global-handles.cc


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];
 }




--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to