MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / free

Function free

src/memory/memory.cpp:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69extern "C" auto free(void* ptr) -> void {
70 if (allocator) {
71 allocator->free(ptr);
72 }
73}
74
75extern "C" auto calloc(size_t num, size_t size) -> void* {
76 if (allocator) {

Callers 7

operator deleteFunction · 0.85
operator delete[]Function · 0.85
memory_testFunction · 0.85
FreeMethod · 0.85
ResetMethod · 0.85
~IoBufferMethod · 0.85
operator=Method · 0.85

Calls

no outgoing calls

Tested by 3

memory_testFunction · 0.68
FreeMethod · 0.68
ResetMethod · 0.68