Zen API

- Home
- Topics
- Types
- Files

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

  object | Object instance.
  mem | Pointer to memory to free (or kNULL).

Returns
  Operation status.