]> git.sur5r.net Git - openldap/commitdiff
remove REP_ENTRY_MUSTRELEASE when copying (ITS#6423)
authorPierangelo Masarati <ando@openldap.org>
Tue, 8 Dec 2009 18:47:17 +0000 (18:47 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 8 Dec 2009 18:47:17 +0000 (18:47 +0000)
servers/slapd/overlays/dynlist.c

index acfc2b387bfc423d6e0bf576b10976cdd0024a78..1b83f9f41d01e219c63057058138d0d88eb2373e 100644 (file)
@@ -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;
        }