Function xfree(void *)

Function Documentation

void xfree(void *ptr)

Frees a previously xalloc allocated block

Frees a memory block previously allocated with xalloc. The blocks are returned to the fixed block allocator that originally created it.

Parameters
  • ptr[in] - a pointer to a previously allocated memory using xalloc.

  • ptr[in] - a pointer to a block created with xalloc.