]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/bconfig.c
fix ITS#3406 wrt/ dnattr; silence warning
[openldap] / servers / slapd / bconfig.c
index 6c9c8b2a052ebfc633854fe892a29893ab70bf46..c8be76a17e52543c7f870e54b3f7da15541892be 100644 (file)
@@ -61,7 +61,7 @@ static struct oc_info {
                "DESC 'OpenLDAP Global configuration options' "
                "SUP olcConfig STRUCTURAL "
                "MAY ( olcAccess $ olcAllows $ olcArgsFile $ olcAttributeOptions $ "
-                "olcAuthRewrite $ olcAuthzPolicy $ olcAuthzRegexp $ "
+                "olcAuthIDRewrite $ olcAuthzPolicy $ olcAuthzRegexp $ "
                 "olcConcurrency $ olcConnMaxPending $ olcConnMaxPendingAuth $ "
                 "olcDefaultSearchBase $ olcDisallows $ olcGentleHUP $ "
                 "olcIdleTimeout $ olcIndexSubstrIfMaxLen $ olcIndexSubstrIfMinLen $ "
@@ -275,6 +275,8 @@ config_build_entry( ConfigArgs *c, Entry *e, ObjectClass *oc,
                rc = config_get_vals(&ct[i], c);
                if (rc == LDAP_SUCCESS) {
                        attr_merge(e, ct[i].ad, c->rvalue_vals, c->rvalue_nvals);
+                       ber_bvarray_free( c->rvalue_nvals );
+                       ber_bvarray_free( c->rvalue_vals );
                }
        }