]> git.sur5r.net Git - openldap/commitdiff
condition compile dynacl
authorPierangelo Masarati <ando@openldap.org>
Wed, 17 Aug 2005 22:41:30 +0000 (22:41 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 17 Aug 2005 22:41:30 +0000 (22:41 +0000)
servers/slapd/aclparse.c

index 5c124830d65478af79fca139662ce35be04e881e..bc372d7e4bb18bcc7819b6327b5a72b13d80bbd9 100644 (file)
@@ -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 );
 }