free

Declaration

free :: fn (ptr: *u8, loc := #call_location)

Description

Free memory alocated on heap. This function use default deallocator _context.free_fn.

Arguments

  • ptr Memory to be deallocated.

  • loc Call location.

Declared in: memory.bl