From: Quanah Gibson-Mount Date: Sat, 26 Aug 2006 23:20:00 +0000 (+0000) Subject: fix e_private value, goes along with memory leak fix to accesslog.c X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~253 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=88ce76f24ed533e068e2cd610e997321eb996398;p=openldap fix e_private value, goes along with memory leak fix to accesslog.c --- diff --git a/servers/slapd/back-bdb/cache.c b/servers/slapd/back-bdb/cache.c index ae7ef6c0ea..b55b8d053d 100644 --- a/servers/slapd/back-bdb/cache.c +++ b/servers/slapd/back-bdb/cache.c @@ -707,6 +707,7 @@ again: ldap_pvt_thread_rdwr_rlock( &bdb->bi_cache.c_rwlock ); &ep->e_nname, eip ); if ( *eip ) islocked = 1; if ( rc ) { + ep->e_private = NULL; #ifdef SLAP_ZONE_ALLOC bdb_entry_return( bdb, ep, (*eip)->bei_zseq ); #else @@ -811,6 +812,7 @@ load1: bdb_cache_entryinfo_unlock( *eip ); } if ( ep ) { + ep->e_private = NULL; #ifdef SLAP_ZONE_ALLOC bdb_entry_return( bdb, ep, (*eip)->bei_zseq ); #else