From 737aee17b05bba9d5b7b9c46f19483b1ae1c91fa Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Thu, 11 Apr 2002 23:17:36 +0000 Subject: [PATCH] fix: changing bdb_cache_return_entry_w() to bdb_cache_return_entry_r() --- servers/slapd/back-bdb/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index ed11d5f03c..84fc36164e 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -90,7 +90,7 @@ bdb_search( break; default: if (e != NULL) { - bdb_cache_return_entry_w(&bdb->bi_cache, e); + bdb_cache_return_entry_r(&bdb->bi_cache, e); } if (matched != NULL) { bdb_cache_return_entry_r(&bdb->bi_cache, matched); -- 2.39.5