Skip to content

Proper way to free AddXXXXHandler? Memory leak detected from SNMPAgent::buildOIDWithPrefix #54

Description

@jamesarm97

When I use the snmp.removeHandler I am getting a memory leak. It appears to be coming from the following function call in the buildOIDWithPrefix function:

newOid = new SortableOIDType(temp);

The removeHandler must not be freeing the newOid from that call.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions