s3:idmap_ldap: remove unused idmap_ldap_alloc_close_destructor().
authorMichael Adam <obnox@samba.org>
Tue, 7 Dec 2010 23:07:29 +0000 (00:07 +0100)
committerMichael Adam <obnox@samba.org>
Sun, 2 Jan 2011 11:51:54 +0000 (12:51 +0100)
source3/winbindd/idmap_ldap.c

index b6674ee02bc0e7acdbcabf349f818e1b57422a89..a957102545472f5787359b22c4ddfe641a918607 100644 (file)
@@ -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
 ********************************/