CVS update: samba/source/include

Tim Potter tpot at samba.org
Thu Apr 4 16:55:32 EST 2002


Date:	Wed Apr  3 22:55:32 2002
Author:	tpot

Update of /data/cvs/samba/source/include
In directory va:/tmp/cvs-serv27275/include

Modified Files:
	rpc_misc.h 
Log Message:
If compiling with Insure, mallocate a byte of memory and attach it to the
POLICY_HND structure when passing new handles back from the appropriate
cli_* functions.  When closing the policy handle free the memory.

Insure (and indeed other memory checkers) should detect handles that have
not been closed properly as memory leaks.  Unfortunately this can only be
done when the program terminates (set insure++.summarize leaks in your
.psrc file) rather than when the policy handle falls out of scope.

Looks like Jeremy has squished all the policy handle leaks at the moment
but more are bound to crop up later.


Revisions:
rpc_misc.h		1.32 => 1.33
	http://www.samba.org/cgi-bin/cvsweb/samba/source/include/rpc_misc.h?r1=1.32&r2=1.33




More information about the samba-cvs mailing list