From: Howard Chu Date: Wed, 24 Aug 2005 01:36:16 +0000 (+0000) Subject: Tweak prev commit, use BER_BVZERO X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~594 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7dde9e0b33357009bdd2ea01b595af9602ffe3b8;p=openldap Tweak prev commit, use BER_BVZERO --- diff --git a/servers/slapd/overlays/valsort.c b/servers/slapd/overlays/valsort.c index c5a14ffad5..68ad11035f 100644 --- a/servers/slapd/overlays/valsort.c +++ b/servers/slapd/overlays/valsort.c @@ -102,6 +102,7 @@ valsort_cf_func(ConfigArgs *c) { len += bv2.bv_len + 1; i ^= VALSORT_WEIGHTED; } + BER_BVZERO( &bv ); enum_to_verb( sorts, i, &bv ); len += bv.bv_len; bvret.bv_val = ch_malloc( len+1 );