FastLED 3.10.6
Loading...
Searching...
No Matches

◆ Free()

void fl::Free ( void * ptr)

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

179 {
180#if defined(FASTLED_TESTING)
181 if (malloc_free_hook() && ptr) {
182 MemoryGuard allows_hook;
183 if (allows_hook.enabled()) {
184 malloc_free_hook()->onFree(ptr);
185 }
186 }
187#endif
188
189 Dealloc(ptr);
190}

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::Mp3MemoryFree(), fl::third_party::nsgif__get_frame(), and fl::third_party::nsgif_destroy().

+ Here is the caller graph for this function: