Skip to content

Commit

Permalink
Reset parameter event before calling fini
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Nov 28, 2024
1 parent 11d1404 commit cc34818
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rclc_parameter/src/rclc_parameter/parameter_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,7 @@ rclc_parameter_server_fini_memory(

if (parameter_server->notify_changed_over_dds) {
// Free event list
rclc_parameter_reset_parameter_event(&parameter_server->event_list);
rcl_interfaces__msg__ParameterEvent__fini(&parameter_server->event_list);
}
}
Expand Down

0 comments on commit cc34818

Please sign in to comment.