Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kObject_FreeMem ( kObject  object,
void *  mem 
)
protected

Protected method called by derived classes to free memory using the object's allocator.

This method is provided for convenience; alternatively, the allocator provided by kObject_Alloc can also be used directly.

Parameters
objectObject instance.
memPointer to memory to free (or kNULL).
Returns
Operation status.