More cctest fixes regarding lifetime/ownership.
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 3 Feb 2014 07:29:23 +0000 (07:29 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 3 Feb 2014 07:29:23 +0000 (07:29 +0000)
commit16bcd431879132ee1a73a64a3e4c7cd1f041f16e
tree2298260da3b5650205a0313c774897ef492d6195
parent3cbe565fb30757b72b1e3d6f898d1bd0366e551e
More cctest fixes regarding lifetime/ownership.

   * Avoid double-free in cctest/test-api/RegExpInterruption.

   * Avoid incorrect zone fiddling in cctest/test-strings.

R=ulan@chromium.org

Review URL: https://codereview.chromium.org/144533005

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