MCPcopy Create free account
hub / github.com/FastLED/FastLED / deallocate

Method deallocate

src/fl/stl/allocator.h:232–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230 }
231
232 void deallocate(T* p, fl::size n) FL_NOEXCEPT {
233 FASTLED_UNUSED(n);
234 if (p == nullptr) {
235 return; // Handle null pointer
236 }
237 Free(p); // Free the allocated memory
238 }
239
240 // Construct an object at the specified address
241 template <typename U, typename... Args>

Callers 15

ensure_capacityMethod · 0.45
~dequeMethod · 0.45
dequeClass · 0.45
shrink_to_fitMethod · 0.45
deallocateMethod · 0.45
deallocateMethod · 0.45
trivial_swapMethod · 0.45
grow_toMethod · 0.45
shrink_to_fit_implMethod · 0.45
move_assignMethod · 0.45
destroy_sentinelMethod · 0.45

Calls 1

FreeFunction · 0.85

Tested by

no test coverage detected