memory.delete

Syntax

v = memory.delete(m)

Delete a memory chunk. The contiguous array of objects with starting address m is returned to the host’s memory space. If m is not a valid address (i.e., one that has not been obtained via memory.create), an error occurs. Any FISH variables pointing to the block of memory will be set to null.

Returns:v - void return
Arguments:m - memory pointer