From: Pierangelo Masarati Date: Wed, 17 Aug 2005 22:41:30 +0000 (+0000) Subject: condition compile dynacl X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~675 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=add1add854231606e259227c32851db2de022f70;p=openldap condition compile dynacl --- diff --git a/servers/slapd/aclparse.c b/servers/slapd/aclparse.c index 5c124830d6..bc372d7e4b 100644 --- a/servers/slapd/aclparse.c +++ b/servers/slapd/aclparse.c @@ -2250,6 +2250,7 @@ access_free( Access *a ) if ( !BER_BVISNULL( &a->a_group_pat ) ) { free( a->a_group_pat.bv_val ); } +#ifdef SLAP_DYNACL if ( a->a_dynacl != NULL ) { slap_dynacl_t *da; for ( da = a->a_dynacl; da; ) { @@ -2264,6 +2265,7 @@ access_free( Access *a ) ch_free( tmp ); } } +#endif /* SLAP_DYNACL */ free( a ); }