mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +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 ) {
|
if ( cache->c_eifree ) {
|
||||||
ei = cache->c_eifree;
|
ei = cache->c_eifree;
|
||||||
cache->c_eifree = ei->bei_lrunext;
|
cache->c_eifree = ei->bei_lrunext;
|
||||||
}
|
|
||||||
ldap_pvt_thread_mutex_unlock( &cache->c_eifree_mutex );
|
|
||||||
if ( ei ) {
|
|
||||||
ei->bei_finders = 0;
|
ei->bei_finders = 0;
|
||||||
}
|
}
|
||||||
|
ldap_pvt_thread_mutex_unlock( &cache->c_eifree_mutex );
|
||||||
}
|
}
|
||||||
if ( !ei ) {
|
if ( !ei ) {
|
||||||
ei = ch_calloc(1, sizeof(EntryInfo));
|
ei = ch_calloc(1, sizeof(EntryInfo));
|
||||||
|
Loading…
Reference in New Issue
Block a user