Skip to content

Dynamic Subscription (BONUS: Allocators): rmw_fastrtps#687

Merged
methylDragon merged 4 commits intorollingfrom
runtime_interface_reflection_allocators
Apr 11, 2023
Merged

Dynamic Subscription (BONUS: Allocators): rmw_fastrtps#687
methylDragon merged 4 commits intorollingfrom
runtime_interface_reflection_allocators

Conversation

@methylDragon
Copy link
Copy Markdown
Contributor

Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
@methylDragon methylDragon force-pushed the runtime_interface_reflection_allocators branch from 2ec70eb to 37ba2d3 Compare April 10, 2023 13:24
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Comment on lines +93 to +94
rosidl_dynamic_typesupport_serialization_support_init(
&impl, &methods, allocator, serialization_support));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is pre-existing, but I'll point out that this looks like a bug; if rosidl_dynamic_typesupport_serialization_support_init fails, then we'll leak &impl and &methods, no?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, will defer to after the merge

@methylDragon methylDragon merged commit 26bbf29 into rolling Apr 11, 2023
@delete-merged-branch delete-merged-branch bot deleted the runtime_interface_reflection_allocators branch April 11, 2023 06:03
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.

4 participants