Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added destructor for pnet_t members #390

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 29, 2021

  1. Added destructor for pnet_t members

    This is a destructor for pnet_init_only(), meaning it does not free the
    pnet_t structure itself. It will only free the dynamically allocated members of pnet_t.
    
    Implementing a pnet_init() destructor in addition to this would be
    trivial.
    
    Seems like this has a use in tests' TearDown() function to release
    dynamically allocated objects.
    asade89 committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    e136a86 View commit details
    Browse the repository at this point in the history