]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4-dsdb: Change talloc parent
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Aug 2012 02:23:58 +0000 (12:23 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 9 Aug 2012 04:26:36 +0000 (06:26 +0200)
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

source4/dsdb/samdb/ldb_modules/partition.c

index 5f8c293ca0e075dcda3ffca56bc3de7a77fd9dc6..4a9216bb10132497e01b2558e550154c433f8443 100644 (file)
@@ -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;
        }