>>>>> On Fri, 17 Feb 2012 21:46:22 +0530, <[email protected]> said:

> If it is powered off, it triggers a memory leak; causing the size of the
> application to increase by 1mb every day.

Are you freeing the PDU when a failure occurs?  If you read the
documentation on snmp_send you'll find you need to.  However, you're
right the snmp_send man page isn't as clear as it could be about the
same being true for the async case (you'll need to check for errors in
the callback routine).
-- 
Wes Hardaker
Please mail all replies to [email protected]

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to