Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: test/cctest/cctest.cc

Issue 53089: Fixed test memory leaks (Closed)
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/cctest/cctest.cc
diff --git a/test/cctest/cctest.cc b/test/cctest/cctest.cc
index d90889036d150435eff8a3bf3e469903c07e4ef5..2807c8b47b580571580d11efdc254dd7149d64f0 100644
--- a/test/cctest/cctest.cc
+++ b/test/cctest/cctest.cc
@@ -30,6 +30,7 @@
#include <cstring>
#include <cstdio>
#include "cctest.h"
+#include "debug.h"
CcTest* CcTest::last_ = NULL;
@@ -120,5 +121,6 @@ int main(int argc, char* argv[]) {
}
if (print_run_count && tests_run != 1)
printf("Ran %i tests.\n", tests_run);
+ v8::V8::Dispose();
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698