mirror of
https://github.com/samba-team/samba.git
synced 2025-11-27 08:23:49 +03:00
r16832: I should be more careful (and test!) when trying to make compilers and
static checkers happy... Andrew Bartlett
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
9fdbedafad
commit
ae7ec0d553
@@ -578,7 +578,9 @@ struct ldb_dn *ldb_dn_casefold(struct ldb_context *ldb, const struct ldb_dn *edn
|
|||||||
if (edn == NULL) return NULL;
|
if (edn == NULL) return NULL;
|
||||||
|
|
||||||
cedn = ldb_dn_new(ldb);
|
cedn = ldb_dn_new(ldb);
|
||||||
return NULL;
|
if (!cedn) {
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
cedn->comp_num = edn->comp_num;
|
cedn->comp_num = edn->comp_num;
|
||||||
cedn->components = talloc_array(cedn, struct ldb_dn_component, edn->comp_num);
|
cedn->components = talloc_array(cedn, struct ldb_dn_component, edn->comp_num);
|
||||||
|
|||||||
Reference in New Issue
Block a user