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:
parent
8575ae5530
commit
982fa4d381
@ -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];
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user