Reviewers: jochen (ooo), Jakob,
Message:
On 2015/08/14 07:58:28, jianghua wrote:
mailto:[email protected] changed reviewers:
+ mailto:[email protected]
- mailto:[email protected]
Alibaba has signed CCLA. Thk!
Description:
fix StrDup memory leak in CcTest
BUG=
Please review this at https://codereview.chromium.org/1287023002/
Base URL: https://github.com/v8/v8-git-mirror@master
Affected files (+1, -0 lines):
M test/cctest/cctest.h
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_; }
--
--
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.