summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 aeb4f204cd..99e7414c7f 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;
}