On 07/06/07, Aleksandr Lomanov <[EMAIL PROTECTED]> wrote:
> how slowly will work test mode of project, if all memory allocation 
> functions, such
> as malloc, realloc, calloc change to function with pointer registration in
> the pointer list ?

> When program finishes the work, simply print list of left pointers,
> to find memory leaks...


Rather than implement a project-specific mechanism for detecting memory
leaks, we've tended to use one of the existing memory analysis tools.
(e.g. dmalloc, electric fence, etc)
   A dedicated library (with specialist developers) is likely to do a better
job than us trying to re-invent the wheel.  That's why the Net-SNMP
configure script includes the options "--with-dmalloc" and "--with-efence".

Dave

-------------------------------------------------------------------------
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

Reply via email to