From 1f5937f993c40d1992a8e0ec3b2d630f5efc21ec Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 27 Feb 2009 06:57:09 +0000 Subject: [PATCH] More for prev --- servers/slapd/back-ldap/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index a329a09451..b3a68b3141 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -563,7 +563,7 @@ finish:; ldap_back_quarantine( op, rs ); } - if ( freefilter ) { + if ( freefilter && filter.bv_val != op->ors_filterstr.bv_val ) { op->o_tmpfree( filter.bv_val, op->o_tmpmemctx ); } -- 2.39.5