HomeFreeBSD

Don't call snmp_pdu_free(..) until finished with the pdu and when ready to

Description

Don't call snmp_pdu_free(..) until finished with the pdu and when ready to
allocate a new one via snmp_pdu_create(..)

This fixes bsnmpwalk, so it no longer crashes after r310729

X-MFC with: r310729
MFC after: 12 days

Details

Provenance
ngieAuthored on
Parents
rS310891: [net80211] add placeholders for the VHT action frame handling.
Branches
Unknown
Tags
Unknown