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

Unified Diff: src/v8threads.cc

Issue 7621064: Fix another handful of memory leaks (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 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
« no previous file with comments | « src/spaces.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8threads.cc
diff --git a/src/v8threads.cc b/src/v8threads.cc
index 52f82e2911899d55ecbf21783b3528264406fc06..3881d66fb017a2c9bba435a4aa82a74a6b8812ed 100644
--- a/src/v8threads.cc
+++ b/src/v8threads.cc
@@ -305,7 +305,9 @@ ThreadManager::ThreadManager()
ThreadManager::~ThreadManager() {
- // TODO(isolates): Destroy mutexes.
+ delete mutex_;
+ delete free_anchor_;
+ delete in_use_anchor_;
}
« no previous file with comments | « src/spaces.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698