some progress on the arena allocator
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ void borrow_allocator_free(borrow_allocator_t *this, void *old_ptr) {
|
||||
free(node);
|
||||
}
|
||||
|
||||
void borrow_allocator_reset(borrow_allocator_t *this) {
|
||||
void borrow_allocator_free_all(borrow_allocator_t *this) {
|
||||
if (this->head == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user