Skip to main content

free

Function free 

Source
pub fn free(ptr: usize, size: usize)
Expand description

释放 alloc 分配的内存。ptr=0 或 size=0 为 no-op。