From: Kurt Zeilenga Date: Mon, 5 Apr 1999 18:30:56 +0000 (+0000) Subject: Backout last change... finish my first coke... try again later... X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~245 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cf4371d108e91565700907da563ff5b65c6fd2ed;p=openldap Backout last change... finish my first coke... try again later... --- diff --git a/servers/slapd/back-ldbm/cache.c b/servers/slapd/back-ldbm/cache.c index 034301cebe..5386735fcc 100644 --- a/servers/slapd/back-ldbm/cache.c +++ b/servers/slapd/back-ldbm/cache.c @@ -553,12 +553,17 @@ try_again: LRU_ADD( cache, ep ); LEI(ep)->lei_refcnt++; + + /* free cache mutex */ + ldap_pvt_thread_mutex_unlock( &cache->c_mutex ); + + return( ep ); } /* free cache mutex */ ldap_pvt_thread_mutex_unlock( &cache->c_mutex ); - return( ep ); + return( NULL ); } /*