From 071b77cf9d493adeddeba668801d9a245f95ec5b Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 25 Aug 2007 15:01:27 +0000 Subject: [PATCH] better fix --- servers/slapd/back-bdb/cache.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/servers/slapd/back-bdb/cache.c b/servers/slapd/back-bdb/cache.c index bbf780bc1f..c6d48112ce 100644 --- a/servers/slapd/back-bdb/cache.c +++ b/servers/slapd/back-bdb/cache.c @@ -63,11 +63,9 @@ bdb_cache_entryinfo_new( Cache *cache ) if ( cache->c_eifree ) { ei = cache->c_eifree; cache->c_eifree = ei->bei_lrunext; - } - ldap_pvt_thread_mutex_unlock( &cache->c_eifree_mutex ); - if ( ei ) { ei->bei_finders = 0; } + ldap_pvt_thread_mutex_unlock( &cache->c_eifree_mutex ); } if ( !ei ) { ei = ch_calloc(1, sizeof(EntryInfo));