-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix rclc_example: memory leaking in msg.data allocation (backport #386) #387
Conversation
Signed-off-by: zhangtonghe <zhangtonghe@megvii.com> Co-authored-by: zhangtonghe <zhangtonghe@megvii.com> (cherry picked from commit 7af2054)
https://build.ros2.org/job/Rpr__rclc__ubuntu_jammy_amd64/163/clang-tidy/new/folder.-84953004/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this fix is not related to https://build.ros2.org/job/Rpr__rclc__ubuntu_jammy_amd64/163/clang-tidy/new/folder.-84953004/category.2119183113/. but as mentioned here, tick-tock
deprecate introduced on ros2/rcl#1004 leads to this warning.
* fix: deprecated rcl_timer_init Signed-off-by: Zard-C <patrick.zhang5233@gmail.com> Signed-off-by: zhangtonghe <zhangtonghe@megvii.com> Signed-off-by: Zard-C <patrick.zhang5233@gmail.com> * fix: switch rcl_timer_init to rcl_timer_init2 Signed-off-by: Zard-C <patrick.zhang5233@gmail.com> Signed-off-by: zhangtonghe <zhangtonghe@megvii.com> Signed-off-by: Zard-C <patrick.zhang5233@gmail.com> * update rclc_timer_init_default and it's invokation Signed-off-by: zhangtonghe <zhangtonghe@megvii.com> Signed-off-by: Zard-C <patrick.zhang5233@gmail.com> * Revert "update rclc_timer_init_default and it's invokation" This reverts commit ebc3edb. Signed-off-by: zhangtonghe <zhangtonghe@megvii.com> Signed-off-by: Zard-C <patrick.zhang5233@gmail.com> * fix: rcl_timer_init usage Combined changes from multiple commits to refactor the usage of rcl_timer_init for better compatibility and clarity. Signed-off-by: Zard-C <patrick.zhang5233@gmail.com> Signed-off-by: zhangtonghe <zhangtonghe@megvii.com> * Update rclc/include/rclc/timer.h Co-authored-by: Jan Staschulat <jan.staschulat@de.bosch.com> Signed-off-by: Zard-C <patrick.zhang5233@gmail.com> --------- Signed-off-by: Zard-C <patrick.zhang5233@gmail.com> Signed-off-by: zhangtonghe <zhangtonghe@megvii.com> Co-authored-by: zhangtonghe <zhangtonghe@megvii.com> Co-authored-by: Jan Staschulat <jan.staschulat@de.bosch.com>
Codecov Report
@@ Coverage Diff @@
## rolling #387 +/- ##
===========================================
- Coverage 69.63% 69.44% -0.20%
===========================================
Files 16 16
Lines 2760 2762 +2
Branches 766 766
===========================================
- Hits 1922 1918 -4
- Misses 452 456 +4
- Partials 386 388 +2
|
I made DCO check pass. |
This is an automatic backport of pull request #386 done by Mergify.
Mergify commands and options
More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:
@Mergifyio refresh
will re-evaluate the rules@Mergifyio rebase
will rebase this PR on its base branch@Mergifyio update
will merge the base branch into this PR@Mergifyio backport <destination>
will backport this PR on<destination>
branchAdditionally, on Mergify dashboard you can:
Finally, you can contact us on https://mergify.com