Skip to content

Conversation

@mauropasse
Copy link

@mauropasse mauropasse commented Aug 2, 2022

Cherry-pick'd from: ros2#956
Signed-off-by: Ivan Santiago Paunovic [email protected]

This PR does not only fix the memory leak of 3 bytes times (n_lifecycle_nodes -1).
It is also a fix to a potentially dangerous problem of different lifecycle nodes which (wrongly) shared the same transition event msg - since before it was static, thus there was a single lifecycle_msgs__msg__TransitionEvent shared among all nodes.

@alsora alsora merged commit 21cca41 into irobot-ros:galactic-events-executor Aug 2, 2022
@mauropasse mauropasse deleted the mauro/galactic-events-executor-fix-memory-leak branch August 2, 2022 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants