I've added some cout's for debug (// free() commented out in favor of a cout).
If _get_next_ has a non-NULL entry it will cout entry's two strings ('A1' is
the idx)
Here's the output (thanks for the help):
NET-SNMP version 5.9.rc2 AgentX subagent connected
_get_first_()
populate()
populate
Yes that's correct, memory leak flagged by valgrind.
- Forwarded Message - From: Wes Hardaker
To: Ian C via Net-snmp-coders
Cc: Ian C Sent:
Wednesday, August 26, 2020, 10:13:09 a.m. EDTSubject: Re: Table Iterator
Crashes in free_data_context
Ian C via Net-snmp-coders
writes:
>
Ian C via Net-snmp-coders
writes:
> I'm still having a crash issue with my table agent, I can't figure out a
> solution, hoping the list members could help. In a nutshell I want to read a
> QNX pps object (file) each time (no caching) it is queried (snmpwalk). The
> data
> gets read and