summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_cache.c b/source4/lib/ldb/ldb_tdb/ldb_cache.c
index a6092c45f9..a98b5d8257 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_cache.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_cache.c
@@ -167,6 +167,7 @@ static int ltdb_attributes_load(struct ldb_module *module)
if (ldb_set_attrib_handlers(module->ldb, &h2, 1) != 0) {
goto failed;
}
+ talloc_steal(module->ldb->schema.attrib_handlers, h2.attr);
}
return 0;