Release a lock.
authorLinus Nordberg <linus@nordu.net>
Fri, 27 Apr 2012 10:55:59 +0000 (12:55 +0200)
committerLinus Nordberg <linus@nordu.net>
Fri, 27 Apr 2012 10:55:59 +0000 (12:55 +0200)
Patch from Ralf Paffrath <paffrath@dfn.de>.

radsecproxy.c

index bc3fbfe..8489a18 100644 (file)
@@ -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;