Skip to main content

free

Function free 

Source
pub unsafe fn free(ptr: u32, len: u32)
Expand description

Frees memory previously allocated via alloc.

ยงSafety

The (ptr, len) pair must come from alloc and must not be freed twice.