Index: test/cctest/cctest.h |
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h |
index c712286b31ffc1d9284c4deffe3d5b3b289a16f0..00a575cc62bd03e18d948b38571c84eb0001b7de 100644 |
--- a/test/cctest/cctest.h |
+++ b/test/cctest/cctest.h |
@@ -108,6 +108,7 @@ class CcTest { |
typedef void (TestFunction)(); |
CcTest(TestFunction* callback, const char* file, const char* name, |
const char* dependency, bool enabled, bool initialize); |
+ ~CcTest() { i::DeleteArray(file_); } |
void Run(); |
static CcTest* last() { return last_; } |
CcTest* prev() { return prev_; } |