2010/8/8 Сергей Владимирович <[email protected]>: > session.peername = strdup("test.net-snmp.org"); > > Where do you release memory which were allocated by this function?
This memory is not explicitly released, no. It will be released automatically when the application exits. It could probably be freed immediately after the 'snmp_open' call. Dave ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ 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
