Function mnemos_alloc::heap::dealloc

source ·
pub unsafe fn dealloc(ptr: *mut u8, layout: Layout)
Expand description

Immediately deallocate the given ptr + Layout

§Safety

This has the same safety invariants as alloc::alloc::dealloc().