From: Pierangelo Masarati Date: Wed, 22 Aug 2012 07:18:18 +0000 (+0200) Subject: fix one-time leak X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=52a1a86fb580ca6ed3c2711ebb34788cd7e7c3f7;p=openldap fix one-time leak --- diff --git a/servers/slapd/back-meta/config.c b/servers/slapd/back-meta/config.c index 028902e024..037b13752c 100644 --- a/servers/slapd/back-meta/config.c +++ b/servers/slapd/back-meta/config.c @@ -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: