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

Function PSRamDeallocate

src/fl/stl/allocator.cpp.hpp:138–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void PSRamDeallocate(void *ptr) {
139#if defined(FASTLED_TESTING)
140 if (gMallocFreeHook && ptr) {
141 // gMallocFreeHook->onFree(ptr);
142 MemoryGuard allows_hook;
143 if (allows_hook.enabled()) {
144 gMallocFreeHook->onFree(ptr);
145 }
146 }
147#endif
148
149 Dealloc(ptr);
150}
151
152void* Malloc(fl::size size) {
153 void* ptr = Alloc(size);

Callers 4

operator()Method · 0.85
PSRamAllocatorClass · 0.85
do_deallocateMethod · 0.85
FL_TEST_FILEFunction · 0.85

Calls 2

enabledMethod · 0.80
onFreeMethod · 0.45

Tested by

no test coverage detected