allocstats: assert count doesn't go negative
This commit is contained in:
@@ -34,6 +34,7 @@ namespace snmalloc
|
||||
|
||||
void dec()
|
||||
{
|
||||
assert(current > 0);
|
||||
current--;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user