diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-11-16 11:05:37 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2006-11-16 11:05:37 +0000 |
commit | f27ff2f45032bc9cf3bc6b9bbee2fb8fb937d8e8 (patch) | |
tree | abc2a34b2555f76ffe388369d3ab01b28413cb90 /source/lib/ldb/common | |
parent | 570eb1cafaf2b8a4c2bc1faae75cf499eef2ed6b (diff) | |
download | samba-f27ff2f45032bc9cf3bc6b9bbee2fb8fb937d8e8.tar.gz samba-f27ff2f45032bc9cf3bc6b9bbee2fb8fb937d8e8.tar.xz samba-f27ff2f45032bc9cf3bc6b9bbee2fb8fb937d8e8.zip |
r19740: fix compiler warning
metze
Diffstat (limited to 'source/lib/ldb/common')
-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) { |