Skip to content

[foxy] node_handle must be destroyed after client_handle to prevent memory leak (#1562)#1565

Merged
fujitatomoya merged 1 commit intoros2:foxyfrom
fujitatomoya:foxy-bugfix-20210225-memory-leak-1545
Feb 27, 2021
Merged

[foxy] node_handle must be destroyed after client_handle to prevent memory leak (#1562)#1565
fujitatomoya merged 1 commit intoros2:foxyfrom
fujitatomoya:foxy-bugfix-20210225-memory-leak-1545

Conversation

@fujitatomoya
Copy link
Copy Markdown
Collaborator

foxy backport for #1562, address #1545.

Signed-off-by: Tomoya.Fujita [email protected]

@fujitatomoya fujitatomoya force-pushed the foxy-bugfix-20210225-memory-leak-1545 branch from 874d4fb to 8ba0b42 Compare February 25, 2021 23:43
@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

@clalancette

re-ordering member variables can break ABI, should I close this?

@ivanpauno
Copy link
Copy Markdown
Member

re-ordering member variables can break ABI, should I close this?

This seems to be using the PIMPL pattern, so it shouldn't be a problem

@ivanpauno ivanpauno added the bug Something isn't working label Feb 26, 2021
Copy link
Copy Markdown
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

@ivanpauno thanks for checking. i am starting CI before merge.

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

windows build failure cz of chocolatey_package 'cppcheck' installation. i do not think that is related to the fix.

@fujitatomoya fujitatomoya merged commit 47f21da into ros2:foxy Feb 27, 2021
@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

@ivanpauno @jacobperron thanks for checking 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants