Re: About memory leak of net-snmp 5.4.1

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
hc> I attach net-snmp snmptranslate.c source code with my small vary to
hc> check memory leak...

Generally, the Net-SNMP project code doesn't do a fantastic job cleaning
up it's memory that it expects to be freed by the OS as it shuts down.

This means that although it is technically a leak it shouldn't generally
be something that should trouble any memory-managed operating system.
The leaks that are bad are the ones that leak when it is performing a
task.

You can use valgrind to help find memory leaks, which is a fantastic
tool for finding lost memory references:

http://www.net-snmp.org/wiki/index.php/Debugger

(I have no idea if it works on windows though)
-- 
Wes Hardaker
Sparta, Inc.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.