[PATCH] Use talloc_to() instead of the talloc NULL context.

Jeremy Allison jra at samba.org
Fri Jan 16 23:34:14 GMT 2009


On Sat, Jan 17, 2009 at 12:16:03AM +0100, Volker Lendecke wrote:
> On Fri, Jan 16, 2009 at 12:16:21PM -0800, Jeremy Allison wrote:
> > > Hi,
> > > 
> > > attached is a small patch for smbd.
> > 
> > It's tidier, but I don't see we need this ? We're already
> > TALLOC_FREE'ing the return....
> 
> Remember the talloc_pool, talloc_tos() is faster :-)

Oh fair enoungh, I'll push.

Jeremy.




More information about the samba-technical mailing list