Ashet OS

syscall: ashet.process.memory.release

Documentation

Returns previously allocated memory back to the process heap.

Inputs

mem: []u8

The complete chunk of memory previously allocated with allocate.

ptr_align: u8

The alignment that was passed to allocate.ptr_align previously.