mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
better fix
This commit is contained in:
parent
84143631ee
commit
071b77cf9d
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user