mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap
This commit is contained in:
commit
030cd3923a
1 changed files with 1 additions and 6 deletions
|
|
@ -2108,12 +2108,7 @@ int slapi_attr_add_value( Slapi_Attr *a, const Slapi_Value *v )
|
|||
nvalp = NULL;
|
||||
}
|
||||
|
||||
rc = value_add_one( &a->a_vals, (Slapi_Value *)v );
|
||||
if ( rc == 0 && nvalp != NULL ) {
|
||||
rc = value_add_one( &a->a_nvals, nvalp );
|
||||
} else {
|
||||
a->a_nvals = a->a_vals;
|
||||
}
|
||||
rc = attr_valadd( a, (Slapi_Value *)v, nvalp, 1 );
|
||||
|
||||
if ( nvalp != NULL ) {
|
||||
slapi_ch_free_string( &nval.bv_val );
|
||||
|
|
|
|||
Loading…
Reference in a new issue