MCPcopy Create free account
hub / github.com/crownengine/crown / ~PoolAllocator

Method ~PoolAllocator

src/core/memory/pool_allocator.cpp:55–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55PoolAllocator::~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
66void *PoolAllocator::allocate(u32 size, u32 align)
67{

Callers

nothing calls this directly

Calls 1

deallocateMethod · 0.45

Tested by

no test coverage detected