Revision: 21650
Author:   [email protected]
Date:     Tue Jun  3 15:39:47 2014 UTC
Log:      Fix leaky tests added by r21649.

[email protected]
BUG=

Review URL: https://codereview.chromium.org/313653002
http://code.google.com/p/v8/source/detail?r=21650

Modified:
 /branches/bleeding_edge/test/cctest/test-parsing.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-parsing.cc Tue Jun 3 15:02:16 2014 UTC +++ /branches/bleeding_edge/test/cctest/test-parsing.cc Tue Jun 3 15:39:47 2014 UTC
@@ -2519,6 +2519,8 @@
   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 @@
   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);
 }

--
--
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/d/optout.

Reply via email to