Skip to content

rcl_ros_clock_init stores pointer to allocator rather than storing a copy #267

@wjwwood

Description

@wjwwood

See: #264 (comment)

This line should be changed so that the given allocator is copied, either by allocating memory to store the allocator struct as a pointer in the rcl_clock_t or by changing the pointer to an allocator in the rcl_clock_t to an instance and then assigning the incoming allocator structure to the one in the rcl_clock_t:

clock->allocator = allocator;

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions