Function rmw_fini_subscription_allocation

Function Documentation

rmw_ret_t rmw_fini_subscription_allocation(rmw_subscription_allocation_t *allocation)

Destroy a publisher allocation object.

This deallocates memory allocated by rmw_init_subscription_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.