From 7d960dfc39969860ed0fba5883417591377f5539 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 1 Dec 2005 00:19:36 +0000 Subject: 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) --- source4/lib/ldb/modules/operational.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb') 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; } -- cgit