]> git.sur5r.net Git - openldap/commitdiff
free parent's reader lock. Thanks Gary!
authorKurt Zeilenga <kurt@openldap.org>
Wed, 18 Nov 1998 20:20:54 +0000 (20:20 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 18 Nov 1998 20:20:54 +0000 (20:20 +0000)
servers/slapd/back-ldbm/delete.c

index 32317c922f1704e2dd36816771492c6677aa0531..7e0008ba802e50b576011d07c2f0017e6a36878f 100644 (file)
@@ -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, "", "" );