]> git.sur5r.net Git - openldap/commitdiff
Fix typo ldap_pvt_thread_mutex_lock -> ldap_pvt_thread_mutex_unlock
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 11 Apr 1999 19:36:19 +0000 (19:36 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 11 Apr 1999 19:36:19 +0000 (19:36 +0000)
servers/slapd/back-ldbm/cache.c

index fabef4a53fff367652d0bf91acd7733857813ec7..791e8a5b3479717ad5782ee76bc44dcaff2ad2b9 100644 (file)
@@ -224,7 +224,7 @@ cache_add_entry_rw(
 
        if( cache_entry_private_init(e) != 0 ) {
                /* free cache mutex */
-               ldap_pvt_thread_mutex_lock( &cache->c_mutex );
+               ldap_pvt_thread_mutex_unlock( &cache->c_mutex );
 
                Debug( LDAP_DEBUG_ANY,
                        "====> cache_add_entry( %ld ): \"%s\": private init failed!\n",