]> git.sur5r.net Git - openldap/commitdiff
connection_get forgot to unlock c_mutex in not used case!
authorKurt Zeilenga <kurt@openldap.org>
Mon, 14 Jun 1999 20:33:21 +0000 (20:33 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 14 Jun 1999 20:33:21 +0000 (20:33 +0000)
servers/slapd/connection.c

index 514eae4be9fb07f39dbba0830f5729e45d5c19a5..1844ad3aaf323518bacc2f93f9f3b5c3a935293a 100644 (file)
@@ -200,6 +200,7 @@ static Connection* connection_get( int s )
                                "connection_get(%d): connection not used.\n",
                                s, c->c_connid, 0 );
 
+                       ldap_pvt_thread_mutex_unlock( &c->c_mutex );
                        return NULL;
                }