From cf4371d108e91565700907da563ff5b65c6fd2ed Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 5 Apr 1999 18:30:56 +0000 Subject: [PATCH] Backout last change... finish my first coke... try again later... --- servers/slapd/back-ldbm/cache.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 ); } /* -- 2.39.5