summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/modules/asq.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/modules/asq.c')
-rw-r--r--source4/lib/ldb/modules/asq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/modules/asq.c b/source4/lib/ldb/modules/asq.c
index 75afae2c7e..229a6eacd9 100644
--- a/source4/lib/ldb/modules/asq.c
+++ b/source4/lib/ldb/modules/asq.c
@@ -117,7 +117,7 @@ static int asq_terminate(struct ldb_handle *handle)
if (ac->controls) {
for (i = 0; ac->controls[i]; i++);
- ares->controls = talloc_move(ares, ac->controls);
+ ares->controls = talloc_move(ares, &ac->controls);
} else {
i = 0;
}
@@ -162,7 +162,7 @@ static int asq_base_callback(struct ldb_context *ldb, void *context, struct ldb_
/* we are interested only in the single reply (base search) we receive here */
if (ares->type == LDB_REPLY_ENTRY) {
- ac->base_res = talloc_move(ac, ares);
+ ac->base_res = talloc_move(ac, &ares);
} else {
talloc_free(ares);
}