Skip to content

Commit c50f0c9

Browse files
Fix error message in rclcpp_lifecycle::State::reset() (#2647)
The function that may not complete successfully is `rcl_lifecycle_state_fini()`, not `rcl_lifecycle_transition_fini()`. Signed-off-by: Christophe Bedard <[email protected]>
1 parent f8aea8c commit c50f0c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rclcpp_lifecycle/src/state.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ State::reset() noexcept
167167
if (ret != RCL_RET_OK) {
168168
RCLCPP_ERROR(
169169
rclcpp::get_logger("rclcpp_lifecycle"),
170-
"rcl_lifecycle_transition_fini did not complete successfully, leaking memory");
170+
"rcl_lifecycle_state_fini did not complete successfully, leaking memory");
171171
}
172172
}
173173

0 commit comments

Comments
 (0)