Arduino_SNMP
Arduino_SNMP copied to clipboard
Proper way to free AddXXXXHandler? Memory leak detected from SNMPAgent::buildOIDWithPrefix
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.