Function rcl_log_levels_fini

Function Documentation

rcl_ret_t rcl_log_levels_fini(rcl_log_levels_t *log_levels)

Reclaim resources held inside rcl_log_levels_t structure.

Attribute

Adherence

Allocates Memory

No

Thread-Safe

No

Uses Atomics

No

Lock-Free

Yes

Parameters:

log_levels[in] The structure which its resources have to be deallocated.

Returns:

RCL_RET_OK if the memory was successfully freed, or

Returns:

RCL_RET_INVALID_ARGUMENT if log_levels is NULL, or

Returns:

RCL_RET_INVALID_ARGUMENT if the log_levels allocator is invalid and the structure contains initialized memory.