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

◆ deallocate()

template<typename T>
void fl::allocator< T >::deallocate ( T * p,
fl::size n )
inline

Definition at line 233 of file allocator.h.

233 {
235 if (p == nullptr) {
236 return; // Handle null pointer
237 }
238 Free(p); // Free the allocated memory
239 }
#define FASTLED_UNUSED(x)
void Free(void *ptr)

Referenced by fl::allocator_slab< T, SLAB_SIZE >::deallocate(), and fl::allocator< U >::reallocate_impl().

+ Here is the caller graph for this function: