From: Pierangelo Masarati Date: Sat, 25 Aug 2007 15:01:27 +0000 (+0000) Subject: better fix X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~103 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=071b77cf9d493adeddeba668801d9a245f95ec5b;p=openldap better fix --- 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));