diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-11-16 11:02:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:51 -0500 |
commit | b7965ac26cbfdfe60f929e2fa3a295b8c57d220d (patch) | |
tree | 5f86e049e183791e5c06122e724b607b1b4fa318 /source/lib/ldb | |
parent | b61269d7e39382d395e84bf2b488f6b40a8049a6 (diff) | |
download | samba-b7965ac26cbfdfe60f929e2fa3a295b8c57d220d.tar.gz samba-b7965ac26cbfdfe60f929e2fa3a295b8c57d220d.tar.xz samba-b7965ac26cbfdfe60f929e2fa3a295b8c57d220d.zip |
r19739: fix compiler warning
metze
Diffstat (limited to 'source/lib/ldb')
-rw-r--r-- | source/lib/ldb/common/ldb_attributes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/ldb/common/ldb_attributes.c b/source/lib/ldb/common/ldb_attributes.c index 2d9f0e6cf88..26c1aac5a58 100644 --- a/source/lib/ldb/common/ldb_attributes.c +++ b/source/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) { |