From dcbca288a95cbe641dbdcdd52a05e7914914e4cc Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 29 Sep 2003 22:01:03 +0000 Subject: [PATCH] ITS#2745 reset bei_state when reusing an EntryInfo --- servers/slapd/back-bdb/cache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/back-bdb/cache.c b/servers/slapd/back-bdb/cache.c index baf2230e98..211715ab51 100644 --- a/servers/slapd/back-bdb/cache.c +++ b/servers/slapd/back-bdb/cache.c @@ -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 ); -- 2.39.5