From 4d58c2f39f9516f655258c48f00ed8f67b746a32 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 1 Jun 2005 19:36:58 +0000 Subject: [PATCH] fix previous commit --- servers/slapd/back-sql/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-sql/search.c b/servers/slapd/back-sql/search.c index c78920f926..98f0041501 100644 --- a/servers/slapd/back-sql/search.c +++ b/servers/slapd/back-sql/search.c @@ -2399,7 +2399,7 @@ backsql_entry_clean( ctx = ldap_pvt_thread_pool_context(); - if ( ctx == NULL || ctx == op->o_tmpmemctx ) { + if ( ctx == NULL || ctx != op->o_tmpmemctx ) { if ( !BER_BVISNULL( &e->e_name ) ) { op->o_tmpfree( e->e_name.bv_val, op->o_tmpmemctx ); BER_BVZERO( &e->e_name ); -- 2.39.5