Skip to content

Commit e61e147

Browse files
committed
CR feedback
1 parent 7350be4 commit e61e147

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/snmalloc/mem/globalalloc.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,8 @@ namespace snmalloc
8787
}
8888
}
8989

90-
if (
91-
result == nullptr && RemoteDeallocCache::remote_inflight.get_curr() != 0)
92-
error("ERROR: RemoteDeallocCache::remote_inflight != 0");
90+
if (result == nullptr)
91+
SNMALLOC_CHECK(RemoteDeallocCache::remote_inflight.get_curr() == 0);
9392

9493
if (result != nullptr)
9594
{

0 commit comments

Comments
 (0)