Skip to content

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

Closed

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;

Activity

  1. added
    bug
    help wanted
    good first issue
    on Jul 10, 2018
  2. self-assigned this
    on Jul 31, 2018
  3. added
    in progress
    on Jul 31, 2018
  4. removed
    in progress
    on Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buggood first issuehelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions