From: Kurt Zeilenga Date: Wed, 18 Nov 1998 20:20:54 +0000 (+0000) Subject: free parent's reader lock. Thanks Gary! X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1089 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e622bc85f83605c41e0609fcc7ccda2d4e470f7f;p=openldap free parent's reader lock. Thanks Gary! --- diff --git a/servers/slapd/back-ldbm/delete.c b/servers/slapd/back-ldbm/delete.c index 32317c922f..7e0008ba80 100644 --- a/servers/slapd/back-ldbm/delete.c +++ b/servers/slapd/back-ldbm/delete.c @@ -93,6 +93,8 @@ ldbm_back_delete( /* free entry and writer lock */ cache_return_entry_w( &li->li_cache, e ); + if ( p ) + cache_return_entry_r( &li->li_cache, p ); send_ldap_result( conn, op, LDAP_SUCCESS, "", "" );