On Wed, 11 Mar 2009 10:41:48 +0000 (GMT) R. wrote: RD> I normally develop with memory leak detection turned on, so that I quickly find out about any new leaks I might have just introduced in the code. This strategy does not work for Net-SNMP, and it looks like it's by design,
It's not so much design as happenstance. Net-snmp has its origin long ago, and has been worked on by lots of people. Some of those people decided that letting the os clean up is a reasonable option. RD> I find the the suggested leak-debugging procedure cumbersome and error-prone. It would be nice if all malloc'ed memory were free'd on shutdown. Patches welcomed. Or funding for a cleanup project. :-) ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
