Skip to content

Commit 7672a5c

Browse files
authored
[scudo] Fix wrong return type. (#168157)
1 parent 18b5e2a commit 7672a5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/scudo/standalone/primary64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1394,7 +1394,7 @@ uptr SizeClassAllocator64<Config>::releaseToOSMaybe(RegionInfo *Region,
13941394
Region->FreeListInfo.PushedBlocks) *
13951395
BlockSize;
13961396
if (UNLIKELY(BytesInFreeList == 0))
1397-
return false;
1397+
return 0;
13981398

13991399
// ==================================================================== //
14001400
// 1. Check if we have enough free blocks and if it's worth doing a page

0 commit comments

Comments
 (0)