MCPcopy Create free account
hub / github.com/Ruddle/Fomos / dealloc

Method dealloc

bootloader/kernel/src/allocator.rs:34–36  ·  view source on GitHub ↗
(&self, ptr: *mut u8, layout: alloc::alloc::Layout)

Source from the content-addressed store, hash-verified

32 }
33
34 unsafe fn dealloc(&self, ptr: *mut u8, layout: alloc::alloc::Layout) {
35 (self.d)(ptr, layout)
36 }
37}
38// #[global_allocator]
39// static ALLOCATOR: AllocFromCtx = AllocFromCtx;

Callers 1

cdallocFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected