Re: Question about snmp_free_pdu
Chun Tat David Chu <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, Thanks for pointing this out. - dc On Tue, Jan 27, 2009 at 5:45 AM, Dave Shield <[email protected]>wrote: > 2009/1/22 Chun Tat David Chu <[email protected]>: > > How come both application only free up the response using snmp_free_pdu() > > but not the request pdu? > > From snmp_api(3): > > Upon successful return from > snmp_send the [request] pdu will be freed by the library. > > > > why it is necessary to free up the response pdu but > > not the request pdu. > > Because the request PDU is freed automatically once it > has been (successfully) sent. > > Dave > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users