Skip to content

deallocate rmw_init_options.enclave in rmw implementaion. - #319

Merged
pablogs9 merged 2 commits into
micro-ROS:jazzyfrom
fujitatomoya:deallocate-enclave
Mar 11, 2025
Merged

pablogs9 merged 2 commits into
micro-ROS:jazzyfrom
fujitatomoya:deallocate-enclave

Conversation

@fujitatomoya

Copy link
Copy Markdown

closes #311

this is jazzy fix of #318, should be backported to humble as well.

@fujitatomoya fujitatomoya left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jimmy-mcelwain

Copy link
Copy Markdown

I don't know this repo particularly well and maybe the PR will need to change because of the failing CI, but I rebuilt MotoROS2 with this PR included on the YRC1000, and the memory leak seems to be gone!

@fujitatomoya

Copy link
Copy Markdown
Author

@jimmy-mcelwain thanks for checking 👍

CI tells implicit declaration of function ‘rcutils_strdup’ [-Werror=implicit-function-declaration], i will patch it.

@fujitatomoya

Copy link
Copy Markdown
Author

@pablogs9 this is CI green.

Comment thread rmw_microxrcedds_c/src/rmw_init.c Resolved
@pablogs9
pablogs9 merged commit a698d4e into micro-ROS:jazzy Mar 11, 2025
@fujitatomoya

Copy link
Copy Markdown
Author

@pablogs9 thanks for the review, and merging!

@fujitatomoya

Copy link
Copy Markdown
Author

@Mergifyio backport humble

@mergify

mergify Bot commented Mar 11, 2025

Copy link
Copy Markdown
Contributor

backport humble

❌ Command disallowed due to command restrictions in the Mergify configuration.

Details
  • sender-permission >= write

@pablogs9

Copy link
Copy Markdown
Member

@mergify backport humble

@mergify

mergify Bot commented Mar 11, 2025 •

Copy link
Copy Markdown
Contributor

backport humble

✅ Backports have been created

Details

mergify Bot pushed a commit that referenced this pull request Mar 11, 2025
* deallocate rmw_init_options.enclave in rmw implementaion.

Signed-off-by: Tomoya Fujita <[email protected]>

* implicit declaration of function ¡Ærcutils_strdup¡Ç

Signed-off-by: Tomoya Fujita <[email protected]>

---------

Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit a698d4e)
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.

Memory leak from enclave

3 participants