From: Pierangelo Masarati Date: Tue, 8 Dec 2009 18:47:17 +0000 (+0000) Subject: remove REP_ENTRY_MUSTRELEASE when copying (ITS#6423) X-Git-Tag: ACLCHECK_0~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=40065adb4d589477035e79f16c6fe5b1e98ce42e;p=openldap remove REP_ENTRY_MUSTRELEASE when copying (ITS#6423) --- diff --git a/servers/slapd/overlays/dynlist.c b/servers/slapd/overlays/dynlist.c index acfc2b387b..1b83f9f41d 100644 --- a/servers/slapd/overlays/dynlist.c +++ b/servers/slapd/overlays/dynlist.c @@ -465,6 +465,7 @@ dynlist_prepare_entry( Operation *op, SlapReply *rs, dynlist_info_t *dli ) if ( !( rs->sr_flags & REP_ENTRY_MODIFIABLE ) ) { e = entry_dup( rs->sr_entry ); e_flags |= ( REP_ENTRY_MODIFIABLE | REP_ENTRY_MUSTBEFREED ); + e_flags &= ~REP_ENTRY_MUSTRELEASE; } else { e = rs->sr_entry; }