CVS update: samba/source/mem_man
Andrew Tridgell
tridge at samba.anu.edu.au
Thu Dec 4 18:46:35 EST 1997
Date: Thursday December 4, 1997 @ 18:46
Author: tridge
Update of /data/cvs/samba/source/mem_man
In directory samba:/tmp/cvs-serv16655
Added Files:
mem_man.c mem_man.h
Log Message:
these are some lousy little memory wrappers that catch
malloc/free/realloc etc errors in programs. They can catch overruns,
underruns, free errors etc. It tells you the line of source code that
did the malloc/free when an error occurs.
To enable it in Samba add -DMEM_MAN=1 to your makefile and recompile
(must do a make clean first).
This stuff is really intended for Samba team members only.
You can get it to dump a complete list of memory allocations and
errors by sending a SIGUSR1.
More information about the samba-cvs
mailing list