From 6e5726310f26d21d862ba9311bc308aa6c0bfeb3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 26 Feb 2011 13:55:41 +0100 Subject: [PATCH] s3-idmap-tdb: private_data is a talloc child of dom --- source3/winbindd/idmap_tdb.c | 7 ------- 1 file changed, 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; } -- 2.11.4.GIT