local memory contexts to avoid a discard_const_p()
kamenim at samba.org
Mon Dec 20 04:11:44 MST 2010
On Mon, Dec 20, 2010 at 12:08, Andrew Bartlett <abartlet at samba.org> wrote:
> On Mon, 2010-12-20 at 11:43 +0200, Kamen Mazdrashki wrote:
>> It is this one:
>> I want to push this patch:
>> Is it ok for you all?
> That looks good. I'm not sure that the schema can actually go away, but
> it is the pattern we use, because it's not always possible to know what
> the called functions will do.
I think you are right and we should stick to this pattern everywhere we
use ref-counted objects. We never know how the underlying implemetation
will change in the future.
> Andrew Bartlett
> Andrew Bartlett http://samba.org/~abartlet/
> Authentication Developer, Samba Team http://samba.org
> Samba Developer, Cisco Inc.
Samba Team http://samba.org
More information about the samba-technical