samba-technical@lists.samba.org
[Top] [All Lists]

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

Subject: regdb_open()/regdb_close() a valid use for talloc_reference?
From: Volker Lendecke
Date: Wed, 29 Nov 2006 13:26:51 +0100
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
<Prev in Thread] Current Thread [Next in Thread>