From 79a44ac26e7a4b9c18b6b38e99c87309ed12e7ea Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Wed, 8 Oct 2003 06:40:16 +0000 Subject: [PATCH] Don't duplicate e_bv in entry_dup() --- servers/slapd/entry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index b907cd0acd..835089c6e0 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -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; } -- 2.39.5