mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Don't duplicate e_bv in entry_dup()
This commit is contained in:
parent
8c9f033aa5
commit
79a44ac26e
@ -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 New Issue
Block a user