On sön, 2007-06-24 at 14:14 +0200, Thomas Anders wrote: > Juuso Alasuutari wrote: > > The distribution is Debian unstable, libsnmp version is 5.3.1, and Valgrind > > is > > 3.2.3. Is this kind of behavior normal from libsnmp, or is the test > > program's > > code broken in some way? > > Would you mind building net-snmp 5.4.1.pre3 from source, compile the > test program against it and re-run your test?
Using trunk, the memory leak is due to init_snmp_enums where we try to add both the string "gauge" and the string "unsigned" to the same key in an snmp_enum that is indexed on the ASN.1 type tag. According to my valgrind that is the definite memory leak. /MF ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
