freebsd-dev/usr.sbin/bsnmpd/tools
Enji Cooper 570afb920c Call snmp_pdu_free on req/resp with a consistent, correct pattern
- snmp_pdu_free should be called before snmp_pdu_create is called
  again
- snmp_pdu_free should be called on the resp to snmp_dialog when
  successful

Tested with the following bsnmp commands:

  % export SNMPUSER=bsnmp SNMPPASSWD=bsnmptest
  % SNMP_ARGS="-A proto=sha -C context='' -K -P proto=des -v 3 -r 0"
  % bsnmpset $SNMP_ARGS sysLocation="MyAgent"
  % bsnmpget $SNMP_ARGS sysLocation
  % bsnmpwalk $SNMP_ARGS

MFC after:	12 days
X-MFC with:	r310729, r310892, r310894
2017-01-01 00:23:43 +00:00
..
bsnmptools Call snmp_pdu_free on req/resp with a consistent, correct pattern 2017-01-01 00:23:43 +00:00
libbsnmptools snmp_output_err_resp, snmp_output_resp: allocate object using calloc, not 2016-12-31 22:46:17 +00:00
Makefile
Makefile.inc Bump WARNS to 6 2016-05-15 00:08:09 +00:00