regdb_open()/regdb_close() a valid use for talloc_reference?
Gerald (Jerry) Carter
jerry at samba.org
Thu Nov 30 05:35:21 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Volker Lendecke wrote:
> 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?
I could live with that as long as the model makes sense.
Samba ------- http://www.samba.org
Centeris ----------- http://www.centeris.com
"What man is a man who does not make the world better?" --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical