summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema_syntax.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-12-03 15:24:18 +0100
committerJeremy Allison <jra@samba.org>2016-09-28 00:04:19 +0200
commit9e5256ad1596a996aead1a91f77360e9cde4e4ca (patch)
tree90fcf430474f78c3b2d8a53c1f23a0c417bb9dab /source4/dsdb/schema/schema_syntax.c
parentc1c079cf3dcf275c5f91fd5ff78dece646bcde93 (diff)
downloadsamba-9e5256ad1596a996aead1a91f77360e9cde4e4ca.tar.gz
werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source4/dsdb/
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/dsdb/schema/schema_syntax.c')
-rw-r--r--source4/dsdb/schema/schema_syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index 2e85a4ef02c..fe99ad1681e 100644
--- a/source4/dsdb/schema/schema_syntax.c
+++ b/source4/dsdb/schema/schema_syntax.c
@@ -1862,7 +1862,7 @@ static WERROR dsdb_syntax_DN_validate_one_val(const struct dsdb_syntax_ctx *ctx,
dn2 = ldb_dn_copy(tmp_ctx, dn);
if (dn == NULL) {
talloc_free(tmp_ctx);
- return WERR_NOMEM;
+ return WERR_NOT_ENOUGH_MEMORY;
}
num_components = ldb_dn_get_comp_num(dn);