mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
SLAP_NVALUES fix
This commit is contained in:
parent
c532587f51
commit
3fe42f68c8
@ -210,7 +210,7 @@ int bdb_entry_return(
|
|||||||
/* nvals are not contiguous with the rest. oh well. */
|
/* nvals are not contiguous with the rest. oh well. */
|
||||||
Attribute *a;
|
Attribute *a;
|
||||||
for (a = e->e_attrs; a; a=a->a_next) {
|
for (a = e->e_attrs; a; a=a->a_next) {
|
||||||
if (a->a_nvals) {
|
if (a->a_nvals != a->a_vals) {
|
||||||
ber_bvarray_free( a->a_nvals );
|
ber_bvarray_free( a->a_nvals );
|
||||||
a->a_nvals = NULL;
|
a->a_nvals = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user