svn commit: samba r19739 - in branches/SAMBA_3_0/source/lib/ldb/common: .

metze at samba.org metze at samba.org
Thu Nov 16 11:02:34 GMT 2006


Author: metze
Date: 2006-11-16 11:02:34 +0000 (Thu, 16 Nov 2006)
New Revision: 19739

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19739

Log:
fix compiler warning

metze
Modified:
   branches/SAMBA_3_0/source/lib/ldb/common/ldb_attributes.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/ldb/common/ldb_attributes.c
===================================================================
--- branches/SAMBA_3_0/source/lib/ldb/common/ldb_attributes.c	2006-11-16 10:52:17 UTC (rev 19738)
+++ branches/SAMBA_3_0/source/lib/ldb/common/ldb_attributes.c	2006-11-16 11:02:34 UTC (rev 19739)
@@ -141,7 +141,7 @@
 		return;
 	}
 	if (h->flags & LDB_ATTR_FLAG_ALLOCATED) {
-		talloc_free(h->attr);
+		talloc_free(discard_const_p(char, h->attr));
 	}
 	i = h - ldb->schema.attrib_handlers;
 	if (i < ldb->schema.num_attrib_handlers - 1) {



More information about the samba-cvs mailing list