ITS#2745 reset bei_state when reusing an EntryInfo

This commit is contained in:
Howard Chu 2003-09-29 22:01:03 +00:00
parent 16cde39daa
commit dcbca288a9

View file

@ -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 );