xpc_release
Decrements the reference count of an object.
Declaration
extern void xpc_release(xpc_object_t object);Parameters
- object:
The object which is to be manipulated.
Discussion
The caller must take care to balance retains and releases. When creating or retaining XPC objects, the creator obtains a reference on the object. Thus, it is the caller’s responsibility to call xpc_release on those objects when they are no longer needed.