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

◆ PSRamDeallocate()

void fl::PSRamDeallocate ( void * ptr)

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

150 {
151#if defined(FASTLED_TESTING)
152 if (malloc_free_hook() && ptr) {
153 // malloc_free_hook()->onFree(ptr);
154 MemoryGuard allows_hook;
155 if (allows_hook.enabled()) {
156 malloc_free_hook()->onFree(ptr);
157 }
158 }
159#endif
160
161 Dealloc(ptr);
162}

Referenced by fl::anonymous_namespace{memory_resource.cpp.hpp}::PSRamMemoryResource::do_deallocate(), fl::PSRamAllocator< T >::Free(), and fl::PSRamDeleter< T >::operator()().

+ Here is the caller graph for this function: