Re: SNMP demo app

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
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.