diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-11-16 11:05:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:28:17 -0500 |
commit | ab7411714b7cceba3c551dccfd0d775b8332f1b4 (patch) | |
tree | 4f5e7c76d7e0116b97390a475064e69dae82b48f | |
parent | 2fd3942ca5b1e06825417cf135f35608878f25e2 (diff) | |
download | samba-ab7411714b7cceba3c551dccfd0d775b8332f1b4.tar.gz samba-ab7411714b7cceba3c551dccfd0d775b8332f1b4.tar.bz2 samba-ab7411714b7cceba3c551dccfd0d775b8332f1b4.zip |
r19740: fix compiler warning
metze
(This used to be commit 666e674504c514033390bf69746fb3c35baf4b2a)
-rw-r--r-- | source4/lib/ldb/common/ldb_attributes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_attributes.c b/source4/lib/ldb/common/ldb_attributes.c index 2d9f0e6cf8..26c1aac5a5 100644 --- a/source4/lib/ldb/common/ldb_attributes.c +++ b/source4/lib/ldb/common/ldb_attributes.c @@ -141,7 +141,7 @@ void ldb_remove_attrib_handler(struct ldb_context *ldb, const char *attrib) 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) { |