Index: third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc |
diff --git a/third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc b/third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc |
index 98cfe6d5bf6826d96045999639c86b39e631251b..e46ab834e77a982ed18ddf84c805c4515beebf4d 100644 |
--- a/third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc |
+++ b/third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc |
@@ -58,6 +58,7 @@ class Thread { |
static void* DoRun(void* cls) { |
ProfileHandlerRegisterThread(); |
reinterpret_cast<Thread*>(cls)->Run(); |
+ ProfileHandlerUnregisterThread(); |
return NULL; |
} |
pthread_t thread_; |