Frees a previously allocated memory block.
#include <xmalloc.h> void xfree ( void *ptr);
(IN) Points to a memory block previously allocated by a call to xcalloc, xmalloc, or xrealloc.
When the value of ptr is NULL, the xfree function does nothing; otherwise, the xfree function deallocates the memory block located by the ptr parameter.
After a call to xfree, the freed memory block is available for allocation.