talloc_stack.c?

Jeremy Allison jra at samba.org
Tue Jul 10 00:19:41 GMT 2007


On Mon, Jul 09, 2007 at 12:00:54PM +1000, Tim Potter wrote:
> 
> How do we ensure that?  Any idiom that requires the programmer to
> remember to do something is a bit broken as it's guaranteed that someone
> will forget and introduce a memory leak.

Yeah well that's call a C++ destructor, as well you know :-).
In C we do the best we can....

> (Do I get a vote?  I committed something to the source tree just now -
> first commit since February, first non svn:ignore property update commit
> since June 2006).

No :-).

Jeremy


More information about the samba-technical mailing list