summaryrefslogtreecommitdiff
path: root/compiler-rt
diff options
context:
space:
mode:
authorChristopher Ferris <cferris1000@users.noreply.github.com>2025-11-17 10:59:04 -0800
committerGitHub <noreply@github.com>2025-11-17 10:59:04 -0800
commit7672a5cee12a299a083b93a6d304b27ab3f4707f (patch)
treee0a882a156c4c4dff941590307b02efcbed8a822 /compiler-rt
parent18b5e2a7266bfe8f211be7ae1198e6bed4ab0c06 (diff)
[scudo] Fix wrong return type. (#168157)
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/scudo/standalone/primary64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/scudo/standalone/primary64.h b/compiler-rt/lib/scudo/standalone/primary64.h
index 747b1a2233d3..c2401c86671d 100644
--- a/compiler-rt/lib/scudo/standalone/primary64.h
+++ b/compiler-rt/lib/scudo/standalone/primary64.h
@@ -1394,7 +1394,7 @@ uptr SizeClassAllocator64<Config>::releaseToOSMaybe(RegionInfo *Region,
Region->FreeListInfo.PushedBlocks) *
BlockSize;
if (UNLIKELY(BytesInFreeList == 0))
- return false;
+ return 0;
// ==================================================================== //
// 1. Check if we have enough free blocks and if it's worth doing a page