local memory contexts to avoid a discard_const_p()

Andrew Bartlett abartlet at samba.org
Mon Dec 20 03:08:41 MST 2010


On Mon, 2010-12-20 at 11:43 +0200, Kamen Mazdrashki wrote:
> On Mon, Dec 20, 2010 at 09:08, Andrew Bartlett <abartlet at samba.org> wrote:
> > On Sun, 2010-12-19 at 12:52 +0100, Matthias Dieter Wallnöfer wrote:
> >> Hi Kamen,
> >>
> >> so I will:
> >
> >> - restore the "mem_ctx" in "pydsdb.c" (py_dsdb_get_oid_from_attid())
> >
> > I've not seen this patch.  Where is it?
> >
> It is this one:
> http://git.samba.org/?p=samba.git;a=commitdiff;h=b974966cc2b4d0b5b0d83206070b5f7c5c6495d1
> > Andrew Bartlett
> >
> 
> I want to push this patch:
> http://gitweb.samba.org/samba.git/?p=kamenim/samba.git;a=commitdiff;h=e7206cfd4f28f720b72065f2ccbba0fe465c7b7f
> 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. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.



More information about the samba-technical mailing list