[SCM] Samba Shared Repository - branch v4-0-test updated -
release-4-0-0alpha5-44-gb7c14af
Michael Adam
ma at sernet.de
Wed Jul 9 21:18:55 GMT 2008
Hi Simo,
it is imported via lib/replace/replace.h from ldb_includes.h
Michael
simo wrote:
> On Wed, 2008-07-09 at 09:29 -0500, Michael Adam wrote:
>
> > diff --git a/source/lib/ldb/ldb_map/ldb_map_outbound.c b/source/lib/ldb/ldb_map/ldb_map_outbound.c
> > index 86661a2..fbc097f 100644
> > --- a/source/lib/ldb/ldb_map/ldb_map_outbound.c
> > +++ b/source/lib/ldb/ldb_map/ldb_map_outbound.c
> > @@ -195,7 +195,7 @@ static int ldb_msg_replace(struct ldb_message *msg, const struct ldb_message_ele
> > if (ldb_msg_add_empty(msg, el->name, 0, &old) != 0) {
> > return -1;
> > }
> > - talloc_free(old->name);
> > + talloc_free(discard_const_p(char, old->name));
> > }
>
> is discard_const_p() defined in ldb headers ?
> check standalone build please.
>
>
> Simo.
>
> --
> Simo Sorce
> Samba Team GPL Compliance Officer <simo at samba.org>
> Senior Software Engineer at Red Hat Inc. <ssorce at redhat.com>
--
Michael Adam <ma at sernet.de> <obnox at samba.org>
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.SerNet.DE, mailto: Info @ SerNet.DE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 206 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080709/61546559/attachment.bin
More information about the samba-technical
mailing list