Hi,

           Actually I was facing memory leak problem while using net-snmp lib 
in my own application. My application is threaded application where many 
threads execute snmpget/walk.
I found one place in netsnmp library as mentioned below:

/snmplib/snmp_transport.c


@@ -489,6 +489,7 @@

         /* register a "transport" specifier */

         if (!have_added_handler) {

+            have_added_handler = 1;

             netsnmp_ds_register_config(ASN_OCTET_STR,

                                        "snmp", "transport",

                After doing the mentioned changes, leak is not reproducible in 
my application. So just need to confirm it whether its fine.
Waiting for your valuable response/feedback .




Thanks & Regards,
Sukhdeep Singh

[email protected] | Cell: +91 77094 92476 | Tel: +91 (712) 39 
86144
Persistent Systems Ltd. | 20 Glorious Years | 
www.persistentsys.com<http://www.persistentsys.com/>


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to