| 53 | } |
| 54 | |
| 55 | PoolAllocator::~PoolAllocator() |
| 56 | { |
| 57 | PoolHeader *next; |
| 58 | PoolHeader *tmp = _start; |
| 59 | while (tmp != NULL) { |
| 60 | next = tmp->next; |
| 61 | _backing.deallocate(tmp); |
| 62 | tmp = next; |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | void *PoolAllocator::allocate(u32 size, u32 align) |
| 67 | { |
nothing calls this directly
no test coverage detected