mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Tweak prev commit, use BER_BVZERO
This commit is contained in:
parent
c947cfd66a
commit
7dde9e0b33
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user