delete eternal handle blocks correctly

TBR=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/22371002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16063 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
dcarney@chromium.org 2013-08-06 06:34:54 +00:00
parent 8575ae5530
commit 982fa4d381

View File

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