From 67dd8087307d7feda17e177a8918833552e7ebd6 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 9 Sep 2006 00:10:43 +0000 Subject: [PATCH] fix entry unlock in case of unhandled scope (ITS#4668) --- servers/slapd/back-monitor/search.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/servers/slapd/back-monitor/search.c b/servers/slapd/back-monitor/search.c index 4b4b9bef7c..a444086d2f 100644 --- a/servers/slapd/back-monitor/search.c +++ b/servers/slapd/back-monitor/search.c @@ -244,6 +244,10 @@ monitor_back_search( Operation *op, SlapReply *rs ) rc = monitor_send_children( op, rs, e, 1 ); break; + + default: + rc = LDAP_UNWILLING_TO_PERFORM; + monitor_cache_release( mi, e ); } rs->sr_attrs = NULL; -- 2.39.5