better fix

This commit is contained in:
Pierangelo Masarati 2007-08-25 15:01:27 +00:00
parent 84143631ee
commit 071b77cf9d

View File

@ -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));