Skip to content

Segmentation fault #16

@keivanzavari

Description

@keivanzavari

Hi,

In the cleanupHook the pointers are deleted but the vector is not cleared.
This will result in seg fault in case you

  • configure and start the component
  • stop and cleanup
  • configure again

For this to be solved a m_drivers.clear(); is necessary in cleanupHook. I have done these changes and documented the code a bit more. Will do a pull request once this issue and the one I opened earlier are further tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions