Function hdk::prelude::allocation::__deallocate [−][src]
#[no_mangle]
pub extern "C" fn __deallocate(guest_ptr: u32, len: u32)
Expand description
Free an allocation.
Needed because we leak memory every time we call __allocate
and write_bytes
.