Fix cache friendly offset.

This commit is contained in:
Matthew Parkinson
2019-11-14 14:02:50 +00:00
parent 74cc475787
commit 4046417f25

View File

@@ -911,7 +911,7 @@ namespace snmalloc
while (prev != nullptr)
{
auto n = Metaslab::follow_next(prev);
dealloc(prev);
dealloc(remove_cache_friendly_offset(prev, i));
prev = n;
}