From 52a1a86fb580ca6ed3c2711ebb34788cd7e7c3f7 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 22 Aug 2012 09:18:18 +0200 Subject: [PATCH] fix one-time leak --- servers/slapd/back-meta/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5