Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index f6cf94eb72a29332719c06f6bf824da7b61aab91..533c6249ca9abee8dd498ffaf216a2c823554744 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -2519,6 +2519,8 @@ TEST(FuncNameInferrerTwoByte) { |
v8::Local<v8::String> expected_name = |
v8::String::NewFromTwoByte(isolate, two_byte_name); |
CHECK(result->Equals(expected_name)); |
+ i::DeleteArray(two_byte_source); |
+ i::DeleteArray(two_byte_name); |
} |
@@ -2542,4 +2544,6 @@ TEST(FuncNameInferrerEscaped) { |
v8::Local<v8::String> expected_name = |
v8::String::NewFromTwoByte(isolate, two_byte_name); |
CHECK(result->Equals(expected_name)); |
+ i::DeleteArray(two_byte_source); |
+ i::DeleteArray(two_byte_name); |
} |