Skip to content

Memory leaks in defaultConfig #276

@CarterLi

Description

@CarterLi

Every config field ( including module arg ) should be freed / destroyed on program exit

They won't allocate memory by default. However if users set options ( eg. --lib-pci "/path/to/library.so" ) memory will be allocated for storing the option value and will never be freed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions