From 510bf2d59175cb4aabf26c0dc1afcb6873955cb4 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 8 Dec 2010 00:07:29 +0100 Subject: s3:idmap_ldap: remove unused idmap_ldap_alloc_close_destructor(). --- source3/winbindd/idmap_ldap.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'source3/winbindd/idmap_ldap.c') diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c index b6674ee02b..a957102545 100644 --- a/source3/winbindd/idmap_ldap.c +++ b/source3/winbindd/idmap_ldap.c @@ -239,18 +239,6 @@ done: return ret; } -/***************************************************************************** - Initialise idmap database. -*****************************************************************************/ - -static int idmap_ldap_alloc_close_destructor(struct idmap_ldap_alloc_context *ctx) -{ - smbldap_free_struct(&ctx->smbldap_state); - DEBUG(5,("The connection to the LDAP server was closed\n")); - /* maybe free the results here --metze */ - return 0; -} - /******************************** Allocate a new uid or gid ********************************/ -- cgit