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

◆ Free()

void fl::Free ( void * ptr)

Definition at line 167 of file allocator.cpp.hpp.

167 {
168#if defined(FASTLED_TESTING)
169 if (gMallocFreeHook && ptr) {
170 MemoryGuard allows_hook;
171 if (allows_hook.enabled()) {
172 gMallocFreeHook->onFree(ptr);
173 }
174 }
175#endif
176
177 Dealloc(ptr);
178}

Referenced by fl::SlabAllocator< T, SLAB_SIZE >::Slab::~Slab(), fl::SlabAllocator< T, SLAB_SIZE >::cleanup(), fl::SlabAllocator< T, SLAB_SIZE >::createSlab(), fl::allocator< U >::deallocate(), fl::allocator_realloc< U >::deallocate(), fl::SlabAllocator< T, SLAB_SIZE >::deallocate(), fl::anonymous_namespace{memory_resource.cpp.hpp}::DefaultMemoryResource::do_deallocate(), fl::third_party::lzw_context_destroy(), fl::third_party::nsgif__get_frame(), and fl::third_party::nsgif_destroy().

+ Here is the caller graph for this function: