Fix memory leaks in test-api.cc to make valgrind happy.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 13 Jul 2010 11:31:47 +0000 (11:31 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 13 Jul 2010 11:31:47 +0000 (11:31 +0000)
commitce28f58a0358ca2216dfb8a64c98b472390c92f9
tree341d30cc0c20d454709701b3908d32a54689a800
parent0f4a33050805b39908d8f9c786d28aff58b0ba09
Fix memory leaks in test-api.cc to make valgrind happy.

The memory leaks are all from the tests, not actually in V8.

I will put a nightly valgrind run on the fuzzer.

Review URL: http://codereview.chromium.org/2944015

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5052 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
test/cctest/test-api.cc