Skip to content

Commit d765738

Browse files
committed
Finalize c yaml struct
1 parent 25716b1 commit d765738

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rclcpp/src/rclcpp/node_interfaces/node_parameters.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ NodeParameters::NodeParameters(
117117
}
118118

119119
rclcpp::ParameterMap initial_map = rclcpp::parameter_map_from(yaml_params);
120+
rcl_yaml_node_struct_fini(yaml_params);
120121
auto iter = initial_map.find(combined_name);
121122
if (initial_map.end() == iter) {
122123
continue;

0 commit comments

Comments
 (0)