summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-09 12:23:58 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-09 06:26:36 +0200
commit1a1f01ee7a754f2ecccce4f385fba6cb55d82518 (patch)
treec32fd9efdeec3a9e8924cb6d01b8948e64f9006d
parent17275561a062b0453f9d2547ecebd6dff08aaa24 (diff)
downloadsamba-1a1f01ee7a754f2ecccce4f385fba6cb55d82518.tar.gz
s4-dsdb: Change talloc parent
This matches the rest of the function. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 9 06:26:36 CEST 2012 on sn-devel-104
-rw-r--r--source4/dsdb/samdb/ldb_modules/partition.c2
1 files changed, 1 insertions, 1 deletions
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;
}