summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-26 13:53:12 +0100
committerVolker Lendecke <vl@samba.org>2011-03-06 12:51:02 +0100
commit1bf29c7acf74945e4613ead446c12b344a50705e (patch)
treeb9af37bd4d0d285a437862af1ad897ab517705bf
parent9c5802b84143fdc8167f9f5996c69b56ecd27e9a (diff)
downloadsamba-1bf29c7acf74945e4613ead446c12b344a50705e.tar.gz
samba-1bf29c7acf74945e4613ead446c12b344a50705e.tar.bz2
samba-1bf29c7acf74945e4613ead446c12b344a50705e.zip
s3-idmap-ldap: private_data is a talloc child of dom
-rw-r--r--source3/winbindd/idmap_ldap.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c
index aea5d6acf5..56d2793c01 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/winbindd/idmap_ldap.c
@@ -1151,16 +1151,6 @@ done:
static NTSTATUS idmap_ldap_close(struct idmap_domain *dom)
{
- struct idmap_ldap_context *ctx;
-
- if (dom->private_data) {
- ctx = talloc_get_type(dom->private_data,
- struct idmap_ldap_context);
-
- talloc_free(ctx);
- dom->private_data = NULL;
- }
-
return NT_STATUS_OK;
}