]> git.sur5r.net Git - openldap/commitdiff
portions of fix for ITS#5168 was missing (ITS#5182)
authorPierangelo Masarati <ando@openldap.org>
Wed, 17 Oct 2007 09:48:46 +0000 (09:48 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 17 Oct 2007 09:48:46 +0000 (09:48 +0000)
servers/slapd/syncrepl.c

index 4a778d743cd6791a4c1a85ef761964cc321e2a13..2f640965536b4efe6096af058b4ed699e7fc31b5 100644 (file)
@@ -2287,11 +2287,8 @@ syncrepl_del_nonpresent(
 
                for (i=0; uuids[i].bv_val; i++) {
                        op->ors_slimit = 1;
-                       slap_uuidstr_from_normalized( &uf.f_av_value, &uuids[i],
-                               op->o_tmpmemctx );
-                       filter2bv_x( op, op->ors_filter, &op->ors_filterstr );
-                       op->o_tmpfree( uf.f_av_value.bv_val, op->o_tmpmemctx );
                        uf.f_av_value = uuids[i];
+                       filter2bv_x( op, op->ors_filter, &op->ors_filterstr );
                        rc = be->be_search( op, &rs_search );
                        op->o_tmpfree( op->ors_filterstr.bv_val, op->o_tmpmemctx );
                }