Signed-off-by: Stephen Brawner <brawner@gmail.com>
This commit is contained in:
parent
c4e690c92a
commit
34107decc9
1 changed files with 2 additions and 0 deletions
|
@ -70,9 +70,11 @@ rcl_lifecycle_transition_map_fini(
|
|||
// free the primary states
|
||||
allocator->deallocate(transition_map->states, allocator->state);
|
||||
transition_map->states = NULL;
|
||||
transition_map->states_size = 0;
|
||||
// free the tansitions
|
||||
allocator->deallocate(transition_map->transitions, allocator->state);
|
||||
transition_map->transitions = NULL;
|
||||
transition_map->transitions_size = 0;
|
||||
|
||||
return fcn_ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue