mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 08:23:35 -05:00
fix ITS#5959 fix
This commit is contained in:
parent
7549abb063
commit
7fe91339df
1 changed files with 3 additions and 0 deletions
|
|
@ -766,7 +766,9 @@ ldap_build_entry(
|
|||
}
|
||||
attr->a_vals[i] = attr->a_vals[last];
|
||||
BER_BVZERO( &attr->a_vals[last] );
|
||||
i--;
|
||||
}
|
||||
|
||||
} else if ( pretty ) {
|
||||
LBER_FREE( attr->a_vals[i].bv_val );
|
||||
attr->a_vals[i] = pval;
|
||||
|
|
@ -801,6 +803,7 @@ ldap_build_entry(
|
|||
}
|
||||
attr->a_vals[i] = attr->a_vals[last];
|
||||
BER_BVZERO( &attr->a_vals[last] );
|
||||
i--;
|
||||
}
|
||||
}
|
||||
BER_BVZERO( &attr->a_nvals[i] );
|
||||
|
|
|
|||
Loading…
Reference in a new issue