Skip to content

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

@jamesarm97

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.

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