From: Howard Chu Date: Fri, 27 Feb 2009 06:57:09 +0000 (+0000) Subject: More for prev X-Git-Tag: ACLCHECK_0~774 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1f5937f993c40d1992a8e0ec3b2d630f5efc21ec;p=openldap More for prev --- 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 ); }