summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/repl/replicated_objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c
index 67999df573..2c40159677 100644
--- a/source4/dsdb/repl/replicated_objects.c
+++ b/source4/dsdb/repl/replicated_objects.c
@@ -654,7 +654,7 @@ WERROR dsdb_replicated_objects_commit(struct ldb_context *ldb,
dsdb_make_schema_global(ldb, cur_schema);
}
msg = ldb_msg_new(ldb);
- if (msg == 0) {
+ if (msg == NULL) {
return WERR_NOMEM;
}
msg->dn = NULL;