1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

r19739: fix compiler warning

metze
This commit is contained in:
Stefan Metzmacher 2006-11-16 11:02:34 +00:00 committed by Gerald (Jerry) Carter
parent b61269d7e3
commit b7965ac26c

View File

@ -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) {