From: Pierangelo Masarati Date: Sat, 9 Sep 2006 00:10:43 +0000 (+0000) Subject: fix entry unlock in case of unhandled scope (ITS#4668) X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~181 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=67dd8087307d7feda17e177a8918833552e7ebd6;p=openldap fix entry unlock in case of unhandled scope (ITS#4668) --- 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;