Function stackmate::cstring_free[][src]

#[no_mangle]
pub unsafe extern "C" fn cstring_free(ptr: *mut c_char)
Expand description

After using any other function, pass the output pointer into cstring_free to clear memory. Failure to do so can lead to memory bugs.

Safety

  • This function is unsafe because it deferences a raw pointer.