mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
ITS#2745 reset bei_state when reusing an EntryInfo
This commit is contained in:
parent
16cde39daa
commit
dcbca288a9
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ bdb_cache_entryinfo_new( Cache *cache )
|
|||
}
|
||||
if ( ei ) {
|
||||
ei->bei_lrunext = NULL;
|
||||
ei->bei_state = 0;
|
||||
} else {
|
||||
ei = ch_calloc(1, sizeof(struct bdb_entry_info));
|
||||
ldap_pvt_thread_mutex_init( &ei->bei_kids_mutex );
|
||||
|
|
|
|||
Loading…
Reference in a new issue