Skip to main content

free_host

Function free_host 

Source
pub unsafe fn free_host<T>(ptr: *mut T) -> Result<()>
Expand description

Free a pinned host allocation returned by alloc_host.

ยงSafety

ptr must have been returned by alloc_host and not yet freed.