summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/idmap_tdb.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-26 13:55:41 +0100
committerVolker Lendecke <vl@samba.org>2011-03-06 12:51:02 +0100
commit6e5726310f26d21d862ba9311bc308aa6c0bfeb3 (patch)
tree270f18d5c4dfbfa0148617742688818c556f910b /source3/winbindd/idmap_tdb.c
parent1bf29c7acf74945e4613ead446c12b344a50705e (diff)
downloadsamba-6e5726310f26d21d862ba9311bc308aa6c0bfeb3.tar.gz
samba-6e5726310f26d21d862ba9311bc308aa6c0bfeb3.tar.xz
samba-6e5726310f26d21d862ba9311bc308aa6c0bfeb3.zip
s3-idmap-tdb: private_data is a talloc child of dom
Diffstat (limited to 'source3/winbindd/idmap_tdb.c')
-rw-r--r--source3/winbindd/idmap_tdb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c
index aeb4f204cd3..99e7414c7ff 100644
--- a/source3/winbindd/idmap_tdb.c
+++ b/source3/winbindd/idmap_tdb.c
@@ -938,13 +938,6 @@ static NTSTATUS idmap_tdb_sids_to_unixids(struct idmap_domain *dom, struct id_ma
static NTSTATUS idmap_tdb_close(struct idmap_domain *dom)
{
- struct idmap_tdb_context *ctx;
-
- if (dom->private_data) {
- ctx = talloc_get_type(dom->private_data, struct idmap_tdb_context);
-
- TALLOC_FREE(ctx->db);
- }
return NT_STATUS_OK;
}