Function libyml::externs::free

source ·
pub unsafe fn free(ptr: *mut c_void)
Expand description

Frees allocated memory.

§Safety

This function is unsafe because it deallocates memory pointed to by ptr. The caller must ensure that ptr was previously allocated by malloc or realloc.