Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kAlloc_FreeRef ( kAlloc  alloc,
void *  mem 
)

Frees a block of memory and sets the memory pointer to kNULL.

Parameters
allocAllocator object.
memPointer to pointer to memory to free (or pointer to kNULL).
Returns
Operation status.