[QUICK] talloc bugs

Rusty Russell rusty at rustcorp.com.au
Wed Jul 1 12:32:10 GMT 2009

On Wed, 1 Jul 2009 09:24:01 pm Volker Lendecke wrote:
> On Wed, Jul 01, 2009 at 09:20:13PM +0930, Rusty Russell wrote:
> > This is a classic case of problematic references, too.  Ignoring the fact
> > that TDB should handle multiple opens, there's nothing obviously wrong
> > with:
> I'm afraid things are a bit busy for me here. But as I said:
> This is on my list to remove the call to talloc_reference.
> I am really sorry if this code now causes major hickups in
> this discussion.

Naah, it's still a good simple example, both of reference abuse and as a 
starting point for "if we invented our ideal API, what would it look like?".


More information about the samba-technical mailing list