]> git.sur5r.net Git - openldap/commitdiff
Fix: use overlay_entry_release_ov in overlay environment
authorHoward Chu <hyc@openldap.org>
Tue, 7 Oct 2008 01:45:42 +0000 (01:45 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 7 Oct 2008 01:45:42 +0000 (01:45 +0000)
servers/slapd/overlays/rwm.c

index 300476dac075e559eb0cb6e339ba9a74d689f384..8236a6516e19912abade4938fc5917c075309d47 100644 (file)
@@ -1367,7 +1367,7 @@ rwm_send_entry( Operation *op, SlapReply *rs )
        (void)rwm_attrs( op, rs, &e->e_attrs, 1 );
 
        if ( rs->sr_flags & REP_ENTRY_MUSTRELEASE ) {
-               be_entry_release_rw( op, rs->sr_entry, 0 );
+               overlay_entry_release_ov( op, rs->sr_entry, 0, on );
        }
 
        rs->sr_entry = e;