FastLED 3.9.15
Loading...
Searching...
No Matches

◆ cleanup()

template<typename T, fl::size SLAB_SIZE = FASTLED_DEFAULT_SLAB_SIZE>
void fl::SlabAllocator< T, SLAB_SIZE >::cleanup ( )
inline

Definition at line 406 of file allocator.h.

406 {
407 while (slabs_) {
408 Slab* next = slabs_->next;
409 slabs_->~Slab();
410 free(slabs_);
411 slabs_ = next;
412 }
415 }
fl::size total_allocated_
Definition allocator.h:207
fl::size total_deallocated_
Definition allocator.h:208

References slabs_, total_allocated_, and total_deallocated_.

Referenced by ~SlabAllocator(), and operator=().

+ Here is the caller graph for this function: