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

r19191: merge from samba4:

fix checker warnings

metze
This commit is contained in:
Stefan Metzmacher 2006-10-09 08:25:27 +00:00 committed by Gerald (Jerry) Carter
parent b81cae4180
commit 93a0fe093b
2 changed files with 2 additions and 1 deletions

View File

@ -598,6 +598,7 @@ struct ldb_dn *ldb_dn_casefold(struct ldb_context *ldb, void *mem_ctx, const str
struct ldb_dn_component dc;
const struct ldb_attrib_handler *h;
memset(&dc, 0, sizeof(dc));
dc.name = ldb_attr_casefold(cedn->components, edn->components[i].name);
if (!dc.name) {
talloc_free(cedn);

View File

@ -324,7 +324,7 @@ int ldb_load_modules(struct ldb_context *ldb, const char *options[])
}
ret = ldb_search(ldb, mods_dn, LDB_SCOPE_BASE, "", attrs, &res);
if (res) talloc_steal(mods_dn, res);
talloc_steal(mods_dn, res);
if (ret == LDB_SUCCESS && (res->count == 0 || res->msgs[0]->num_elements == 0)) {
ldb_debug(ldb, LDB_DEBUG_TRACE, "no modules required by the db\n");
} else {