restore free list usage on structures in facts without crashing lgtunit loader

This commit is contained in:
Mark Thom
2023-01-13 18:34:29 -07:00
parent a80aab48cd
commit f9e3bdb6b0
2 changed files with 18 additions and 0 deletions

View File

@@ -218,6 +218,10 @@ impl DebrayAllocator {
self.free_list.push(r);
}
}
pub fn reset_free_list(&mut self) {
self.free_list.clear();
}
}
impl Allocator for DebrayAllocator {