From add1add854231606e259227c32851db2de022f70 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 17 Aug 2005 22:41:30 +0000 Subject: [PATCH] condition compile dynacl --- servers/slapd/aclparse.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); } -- 2.39.5