Index: test/cctest/test-global-handles.cc |
diff --git a/test/cctest/test-global-handles.cc b/test/cctest/test-global-handles.cc |
index c2e5ae7f9ad42ed5a028a4a16346e282d2524bb6..d3fc25c7d718e61542f5412fec1bc7015673607b 100644 |
--- a/test/cctest/test-global-handles.cc |
+++ b/test/cctest/test-global-handles.cc |
@@ -330,6 +330,7 @@ TEST(EternalHandles) { |
CHECK_EQ(0, eternal_handles->NumberOfHandles()); |
for (int i = 0; i < kArrayLength; i++) { |
+ indices[i] = -1; |
HandleScope scope(isolate); |
v8::Local<v8::Object> object = v8::Object::New(); |
object->Set(i, v8::Integer::New(i, v8_isolate)); |