]> git.sur5r.net Git - openldap/commitdiff
fix one-time leak
authorPierangelo Masarati <ando@OpenLDAP.org>
Wed, 22 Aug 2012 07:18:18 +0000 (09:18 +0200)
committerPierangelo Masarati <ando@OpenLDAP.org>
Wed, 22 Aug 2012 07:20:18 +0000 (09:20 +0200)
servers/slapd/back-meta/config.c

index 028902e024d06cbeaa12bd35c0f4f38b05494b80..037b13752cfa4d00d7f9647d6d7e6e29b840f46a 100644 (file)
@@ -1360,7 +1360,7 @@ meta_back_cf_gen( ConfigArgs *c )
                        if ( p1 ) {
                                strcpy( p2, p1 );
                        }
-                       value_add_one( &c->rvalue_vals, &bv );
+                       ber_bvarray_add( &c->rvalue_vals, &bv );
                        } break;
 
                case LDAP_BACK_CFG_ACL_AUTHCDN: