2009/8/31 Gang Shu <[email protected]>:
> Could you please tell us where the global variables "nlmLogTable"
> and "table_set" have been freed?

This data structure will be freed when the agent shuts down.

I strongly suspect it's not explicitly released - most of the MIB module
handlers don't bother to clean up fully, since they will typically only
be unloaded as part of the agent shutting down (when it will release
all allocated memory anyway).

   The natural place to handle this resource release would probably be
in the 'shutdown_notification_log()' routine.

Dave

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to