regdb_open()/regdb_close() a valid use for talloc_reference?

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Nov 29 12:26:51 GMT 2006


Hi!

While looking at the registry I'm close to using
talloc_reference for the same purpose reg_db.c right now
uses its internal refcount for.

We agreed that talloc_reference() is evil, but I think this
use case would be a valid one.

Ok? Or should I implement a refcount myself?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20061129/233c3558/attachment.bin


More information about the samba-technical mailing list