local memory contexts to avoid a discard_const_p()

Matthias Dieter Wallnöfer mdw at samba.org
Fri Dec 17 13:16:49 MST 2010


Kamen,

what's your opinion about these patches?

Cheers,
Matthias

Andrew Bartlett wrote:
> On Wed, 2010-12-15 at 18:12 +0100, Matthias Dieter Wallnöfer wrote:
>    
>> Jelmer,
>>
>> I've uploaded a proposal: in my private repo on git.samba.org the branch
>> "oid_const".
>>      
> I've looked at the patches, and they seem reasonable, but I would prefer
> Karmen looked at them (the prefixMap is his area these days).  However,
> I still disagree with the change to use the NULL context as the talloc
> context in the python bindings.
>
> I would still prefer that we didn't use a NULL context as the input, and
> instead just steal the result from the tmp_ctx context we had before.
>
> Andrew Bartlett
>
>    



More information about the samba-technical mailing list