mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-15 03:14:24 -05:00
fix potential concurrency issue (not so potential, if we could regularly trigger it :)
This commit is contained in:
parent
abca6f16a6
commit
84143631ee
1 changed files with 3 additions and 1 deletions
|
|
@ -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 a new issue