]> git.sur5r.net Git - openldap/blobdiff - contrib/slapd-modules/authzid/authzid.c
Merge remote branch 'origin/mdb.master'
[openldap] / contrib / slapd-modules / authzid / authzid.c
index 54ee87c9c78200c08df7d2973d76f62160732eaf..9fdca8b33ddd69a13d4c744a7f7d76973f48c0bf 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2010-2011 The OpenLDAP Foundation.
+ * Copyright 2010-2012 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -74,7 +74,6 @@ authzid_conn_find( Connection *c )
        ac = (authzid_conn_t *)avl_find( authzid_tree, (caddr_t)&tmp, authzid_conn_cmp );
        if ( ac == NULL || ( ac != NULL && ac->refcnt != 0 ) ) {
                ac = NULL;
-               ldap_pvt_thread_mutex_unlock( &authzid_mutex );
        }
        if ( ac ) {
                ac->refcnt++;