summaryrefslogtreecommitdiffstats
path: root/third_party/tcmalloc/allocator_shim.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/tcmalloc/allocator_shim.cc')
-rw-r--r--third_party/tcmalloc/allocator_shim.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/tcmalloc/allocator_shim.cc b/third_party/tcmalloc/allocator_shim.cc
index f5bc306..f5fb81c 100644
--- a/third_party/tcmalloc/allocator_shim.cc
+++ b/third_party/tcmalloc/allocator_shim.cc
@@ -72,7 +72,7 @@ inline bool call_new_handler(bool nothrow) {
// Since exceptions are disabled, we don't really know if new_handler
// failed. Assume it will abort if it fails.
(*nh)();
- return true;
+ return false; // break out of the retry loop.
#else
// If no new_handler is established, the allocation failed.
if (!nh) {