From: Howard Chu Date: Wed, 12 Jan 2011 22:48:30 +0000 (+0000) Subject: More for prev commit X-Git-Tag: MIGRATION_CVS2GIT~208 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=62ee62c0b0e7968ecf12d6784843ac88618673ca;p=openldap More for prev commit --- diff --git a/servers/slapd/back-monitor/search.c b/servers/slapd/back-monitor/search.c index cd9dc89773..a7aad3bd10 100644 --- a/servers/slapd/back-monitor/search.c +++ b/servers/slapd/back-monitor/search.c @@ -103,8 +103,10 @@ monitor_send_children( rs->sr_flags = 0; rc = send_search_entry( op, rs ); rs->sr_entry = NULL; - if ( rc ) + if ( rc ) { + monitor_cache_release( mi, e ); goto freeout; + } } if ( sub ) {