[][src]Function mun_runtime::mun_destroy_string

#[no_mangle]pub unsafe extern "C" fn mun_destroy_string(string: *const c_char)

Deallocates a string that was allocated by the runtime.

Safety

This function receives a raw pointer as parameter. Only when the argument is not a null pointer, its content will be deallocated. Passing pointers to invalid data or memory allocated by other processes, will lead to undefined behavior.