{ NULL }
};
-static void
-restriction_free( struct restriction_entry *restriction )
+void
+lload_restriction_free( struct restriction_entry *restriction )
{
ch_free( restriction->oid.bv_val );
ch_free( restriction );
} else if ( c->op == LDAP_MOD_DELETE ) {
if ( !c->line ) {
- ldap_tavl_free( *root, (AVL_FREE)restriction_free );
+ ldap_tavl_free( *root, (AVL_FREE)lload_restriction_free );
*root = NULL;
if ( c->type == CFG_RESTRICT_EXOP ) {
lload_default_exop_action = LLOAD_OP_NOT_RESTRICTED;
}
lload_exop_destroy();
+ ldap_tavl_free( lload_control_actions, (AVL_FREE)lload_restriction_free );
+ ldap_tavl_free( lload_exop_actions, (AVL_FREE)lload_restriction_free );
#ifdef HAVE_TLS
if ( lload_tls_backend_ld ) {
LDAP_SLAPD_F (int) lload_bindconf_unparse( slap_bindconf *bc, struct berval *bv );
LDAP_SLAPD_F (int) lload_bindconf_tls_set( slap_bindconf *bc, LDAP *ld );
LDAP_SLAPD_F (void) lload_bindconf_free( slap_bindconf *bc );
+LDAP_SLAPD_F (void) lload_restriction_free( struct restriction_entry *entry );
#ifdef BALANCER_MODULE
LDAP_SLAPD_F (int) lload_back_init_cf( BackendInfo *bi );
#endif