From: Nick Porter Date: Tue, 4 Apr 2023 17:20:00 +0000 (+0100) Subject: Remove unused connection pool X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04dae8448d8801979659698559eea63e75897c56;p=thirdparty%2Ffreeradius-server.git Remove unused connection pool --- diff --git a/src/modules/rlm_ldap/rlm_ldap.c b/src/modules/rlm_ldap/rlm_ldap.c index 46579b153a..e4a453abed 100644 --- a/src/modules/rlm_ldap/rlm_ldap.c +++ b/src/modules/rlm_ldap/rlm_ldap.c @@ -1959,8 +1959,6 @@ static int mod_detach(module_detach_ctx_t const *mctx) if (inst->userobj_sort_ctrl) ldap_control_free(inst->userobj_sort_ctrl); - fr_pool_free(inst->pool); - return 0; } diff --git a/src/modules/rlm_ldap/rlm_ldap.h b/src/modules/rlm_ldap/rlm_ldap.h index df415f60ea..b8e0ea2ebc 100644 --- a/src/modules/rlm_ldap/rlm_ldap.h +++ b/src/modules/rlm_ldap/rlm_ldap.h @@ -120,7 +120,6 @@ typedef struct { //!< to perform additional authorisation checks. #endif - fr_pool_t *pool; //!< Connection pool instance. fr_ldap_config_t handle_config; //!< Connection configuration instance. fr_trunk_conf_t trunk_conf; //!< Trunk configuration } rlm_ldap_t;