mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
fix potential concurrency issue (not so potential, if we could regularly trigger it :)
This commit is contained in:
parent
abca6f16a6
commit
84143631ee
@ -65,7 +65,9 @@ bdb_cache_entryinfo_new( Cache *cache )
|
||||
cache->c_eifree = ei->bei_lrunext;
|
||||
}
|
||||
ldap_pvt_thread_mutex_unlock( &cache->c_eifree_mutex );
|
||||
ei->bei_finders = 0;
|
||||
if ( ei ) {
|
||||
ei->bei_finders = 0;
|
||||
}
|
||||
}
|
||||
if ( !ei ) {
|
||||
ei = ch_calloc(1, sizeof(EntryInfo));
|
||||
|
Loading…
Reference in New Issue
Block a user