From a23b71195f21fa3115185dd983b2ea7214e94ad3 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 27 Apr 2012 12:55:59 +0200 Subject: [PATCH] Release a lock. Patch from Ralf Paffrath . --- radsecproxy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/radsecproxy.c b/radsecproxy.c index bc3fbfe..8489a18 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -2243,6 +2243,7 @@ struct list *createsubrealmservers(struct realm *realm, struct list *srvconfs) { /* If clientwr() could not find a NAPTR we have to * wait for dynfailing=1 what is set in clientwr(). */ pthread_mutex_lock(&srvconf->servers->lock); + pthread_mutex_unlock(&srvconf->servers->lock); #endif } conf = srvconf; -- 2.1.4