Skip to content

Destructor function #260

Open
Open
@fredrikdanielmoller

Description

@fredrikdanielmoller

Currently, the private function pnet_init_only() is called in the unit tests. This does not allocate the pnet_t struct, but it does allocate memory for mutexes. The allocated memory is never released.

Fix this by creating a destructor function and call it from the tests' TearDown() function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions