]> git.sur5r.net Git - openldap/commitdiff
ITS#5826
authorHoward Chu <hyc@openldap.org>
Sat, 22 Nov 2008 22:37:12 +0000 (22:37 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 22 Nov 2008 22:37:12 +0000 (22:37 +0000)
servers/slapd/syncrepl.c

index a9f9cf66cc8ca86ff031b14efca36a15e7e59fd5..ec76b9998d67f4abef8802c788891e32c9cc3704 100644 (file)
@@ -2451,6 +2451,9 @@ syncrepl_del_nonpresent(
                        op->ors_filter = of;
                }
                if ( op->ors_filter ) filter_free_x( op, op->ors_filter, 1 );
+               if ( op->ors_filterstr.bv_val != si->si_filterstr.bv_val ) {
+                       op->o_tmpfree( op->ors_filterstr.bv_val, op->o_tmpmemctx );
+               }
 
        }