Function rmw_fini_publisher_allocation

Function Documentation

rmw_ret_t rmw_fini_publisher_allocation(rmw_publisher_allocation_t *allocation)

Destroy a publisher allocation object.

This deallocates any memory allocated by rmw_init_publisher_allocation.

Parameters:

allocation[in] Allocation object to be destroyed.

Returns:

RMW_RET_OK if successful, or

Returns:

RMW_RET_UNSUPPORTED if it’s unimplemented

Returns:

RMW_RET_INVALID_ARGUMENT if argument is null, or

Returns:

RMW_RET_ERROR if an unexpected error occurs.