Function rmw_message_info_sequence_fini

Function Documentation

rmw_ret_t rmw_message_info_sequence_fini(rmw_message_info_sequence_t *sequence)

Finalize an rmw_message_sequence_t object.

The rmw_message_sequence_t struct has members which require memory to be allocated to them before setting values. This function reclaims any allocated resources within the object and zeroes out all other members.

Parameters:

sequence[inout] sequence object to be finalized.