summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/modules/operational.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/modules/operational.c b/source4/lib/ldb/modules/operational.c
index 2fdd255e99..d98dfe1266 100644
--- a/source4/lib/ldb/modules/operational.c
+++ b/source4/lib/ldb/modules/operational.c
@@ -201,7 +201,7 @@ static int operational_search_bytree(struct ldb_module *module, struct ldb_reque
if (ldb_attr_cmp(attrs[a], search_sub[i].attr) == 0 &&
search_sub[i].replace) {
if (!search_attrs) {
- search_attrs = ldb_attr_list_copy(module, attrs);
+ search_attrs = ldb_attr_list_copy(req, attrs);
if (search_attrs == NULL) {
goto failed;
}