From: Kurt Zeilenga Date: Mon, 14 Jun 1999 20:33:21 +0000 (+0000) Subject: connection_get forgot to unlock c_mutex in not used case! X-Git-Tag: OPENLDAP_REL_ENG_2_BP~315 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=61eaffeed2d0869af45460f0a540cca1be7181b3;p=openldap connection_get forgot to unlock c_mutex in not used case! --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 514eae4be9..1844ad3aaf 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -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; }