diff options
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r-- | source4/lib/ldb/common/ldb_ldif.c | 2 | ||||
-rw-r--r-- | source4/lib/ldb/common/ldb_msg.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/source4/lib/ldb/common/ldb_ldif.c b/source4/lib/ldb/common/ldb_ldif.c index 3b6783f803..572e677b44 100644 --- a/source4/lib/ldb/common/ldb_ldif.c +++ b/source4/lib/ldb/common/ldb_ldif.c @@ -544,7 +544,6 @@ struct ldb_ldif *ldb_ldif_read(struct ldb_context *ldb, msg->dn = NULL; msg->elements = NULL; msg->num_elements = 0; - msg->private_data = NULL; chunk = next_chunk(ldb, fgetc_fn, private_data); if (!chunk) { @@ -552,7 +551,6 @@ struct ldb_ldif *ldb_ldif_read(struct ldb_context *ldb, } talloc_steal(ldif, chunk); - msg->private_data = chunk; s = chunk; if (next_attr(ldif, &s, &attr, &value) != 0) { diff --git a/source4/lib/ldb/common/ldb_msg.c b/source4/lib/ldb/common/ldb_msg.c index 0f7a214023..9efd3d4d52 100644 --- a/source4/lib/ldb/common/ldb_msg.c +++ b/source4/lib/ldb/common/ldb_msg.c @@ -455,7 +455,6 @@ struct ldb_message *ldb_msg_copy_shallow(TALLOC_CTX *mem_ctx, if (msg2 == NULL) return NULL; *msg2 = *msg; - msg2->private_data = NULL; msg2->elements = talloc_array(msg2, struct ldb_message_element, msg2->num_elements); |