Use after talloc_free...

Kai Blin kai at samba.org
Wed Nov 11 04:59:51 MST 2009


On Wednesday 11 November 2009 12:45:45 Volker Lendecke wrote:
> On Wed, Nov 11, 2009 at 12:37:07PM +0100, Volker Lendecke wrote:
> > On Wed, Nov 11, 2009 at 12:33:29PM +0100, Kai Blin wrote:
> > > TALLOC_FREE is used in the shared code already. Why come up with yet
> > > another way to do it(tm)? Personally I think coding on Samba is
> > > complicated enough already.
> >
> > Because Rusty hates SHOUTING? :-)
>
> BTW, if there is a better alternative with the same
> semantics, a complete replace run over the source code
> should not be too difficult and I would support that.

s/TALLOC_FREE/talloc_free_zero/ perhaps? that's a bit more obvious on 
the "it'll zero out the context" side that just capitals, and it's lower 
case.

Cheers,
Kai

-- 
Kai Blin
WorldForge developer  http://www.worldforge.org/
Wine developer        http://wiki.winehq.org/KaiBlin
Samba team member     http://www.samba.org/samba/team/
--
Will code for cotton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091111/b2e73554/attachment.pgp>


More information about the samba-technical mailing list