From 1a1f01ee7a754f2ecccce4f385fba6cb55d82518 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 9 Aug 2012 12:23:58 +1000 Subject: s4-dsdb: Change talloc parent This matches the rest of the function. Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Thu Aug 9 06:26:36 CEST 2012 on sn-devel-104 --- source4/dsdb/samdb/ldb_modules/partition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/dsdb/samdb/ldb_modules/partition.c b/source4/dsdb/samdb/ldb_modules/partition.c index 5f8c293ca0e..4a9216bb101 100644 --- a/source4/dsdb/samdb/ldb_modules/partition.c +++ b/source4/dsdb/samdb/ldb_modules/partition.c @@ -1035,7 +1035,7 @@ int partition_sequence_number_from_partitions(struct ldb_module *module, struct partition_private_data *data = talloc_get_type(ldb_module_get_private(module), struct partition_private_data); - ret = partition_primary_sequence_number(module, module, &seq_number, NULL); + ret = partition_primary_sequence_number(module, data, &seq_number, NULL); if (ret != LDB_SUCCESS) { return ret; } -- cgit v1.2.1