Gives memory back to the context allocator. memory must come from alloc, New, realloc or another
procedure that allocates with the context allocator, and must not be freed twice. Freeing a null
pointer is up to the allocator; do not rely on it.
free :: (memory: *void)
Parameters
- memory: *void
free :: (s: string)
Frees the memory a string points to. The string must have been allocated with the context allocator
in effect now, for example by alloc_string, copy_string or sprint. Never free a string literal,
a slice of another string or a string from temporary storage.
Parameters
- s: string