On Thu, 16 Jun 2011 17:28:21 +0530 Sukhdeep wrote:
SS> 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.
SS> I found one place in netsnmp library as mentioned below:
SS>
SS> /snmplib/snmp_transport.c
SS>
SS>
SS> @@ -489,6 +489,7 @@
SS> /* register a "transport" specifier */
SS> if (!have_added_handler) {
SS> + have_added_handler = 1;
SS> netsnmp_ds_register_config(ASN_OCTET_STR,
SS> "snmp", "transport",
SS>
SS> After doing the mentioned changes, leak is not reproducible
in my application. So just need to confirm it whether its fine.
Yes, that's fine. The same fix has already be applied to our source tree.
------------------------------------------------------------------------------
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