We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c749682 commit f90c01cCopy full SHA for f90c01c
rcl_lifecycle/src/transition_map.c
@@ -70,9 +70,11 @@ rcl_lifecycle_transition_map_fini(
70
// free the primary states
71
allocator->deallocate(transition_map->states, allocator->state);
72
transition_map->states = NULL;
73
+ transition_map->states_size = 0;
74
// free the tansitions
75
allocator->deallocate(transition_map->transitions, allocator->state);
76
transition_map->transitions = NULL;
77
+ transition_map->transitions_size = 0;
78
79
return fcn_ret;
80
}
0 commit comments