need netsnmpagent.lib when using sessions?

"Mathew Bielejeski" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I'm using snmp_sess_sync_send() to send snmpv3 requests to devices on our
network.  I have discovered that my code allocates memory that isn't freed
at shutdown.  I tracked the bug down to create_user_from_session() calls
within snmp_sess_sync_send().  The users that get created are only freed if
you call shutdown_agent().  Is this the way it is designed to work or should
a call to free the users be in snmp_shutdown() as well?

 

Mathew Bielejeski

http://www.neon.com

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.