mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Don't duplicate e_bv in entry_dup()
This commit is contained in:
parent
8c9f033aa5
commit
79a44ac26e
1 changed files with 2 additions and 1 deletions
|
|
@ -757,7 +757,8 @@ Entry *entry_dup( Entry *e )
|
|||
ber_dupbv( &ret->e_nname, &e->e_nname );
|
||||
ret->e_attrs = attrs_dup( e->e_attrs );
|
||||
ret->e_ocflags = e->e_ocflags;
|
||||
ber_dupbv( &ret->e_bv, &e->e_bv );
|
||||
ret->e_bv.bv_val = NULL;
|
||||
ret->e_bv.bv_len = 0;
|
||||
ret->e_private = NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue