[QUICK] talloc bugs
Volker Lendecke
Volker.Lendecke at SerNet.DE
Mon Jun 29 06:06:07 MDT 2009
On Mon, Jun 29, 2009 at 09:49:20PM +1000, tridge at samba.org wrote:
> yep, I've found the abstractness of the discussion unhelpful.
>
> Here are two fairly simple examples:
>
> 1) in source3/lib/util_tdb.c we have tdb_wrap_open() which is used to
> allow us to share a common underlying tdb context between two users,
> allowing for the illusion of being able to open a tdb more than once
> in the same process. This is a classic case of reference counting.
I've got a patch in my queue to remove that use of
talloc_reference().
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20090629/21b5a278/attachment.bin
More information about the samba-technical
mailing list