summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-12-01 00:19:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:54 -0500
commit7d960dfc39969860ed0fba5883417591377f5539 (patch)
treed7ff7cfc493f6d73a43584076940112a90c81437 /source4/lib/ldb
parent6615907b94eb2395ddf907e92a543ff0525b9d02 (diff)
downloadsamba-7d960dfc39969860ed0fba5883417591377f5539.tar.gz
samba-7d960dfc39969860ed0fba5883417591377f5539.tar.bz2
samba-7d960dfc39969860ed0fba5883417591377f5539.zip
r11981: we should allocate request specific memory in ldb modules off the
request strucutre. It will take a while for this to happen everywhere. (This used to be commit b1d38153b8c1d2d5be2d41005eadb0e0aa46bd72)
Diffstat (limited to 'source4/lib/ldb')
-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;
}