minor fixes
authorvenaas <venaas>
Wed, 28 May 2008 08:40:39 +0000 (08:40 +0000)
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>
Wed, 28 May 2008 08:40:39 +0000 (08:40 +0000)
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@260 e88ac4ed-0b26-0410-9574-a7f39faa03bf

radsecproxy.c
radsecproxy.h

index 3725c90..da3e142 100644 (file)
@@ -474,7 +474,9 @@ void removeclient(struct client *client) {
     for (entry = list_first(client->replyq->replies); entry; entry = list_next(entry))
        free(((struct reply *)entry)->buf);
     list_destroy(client->replyq->replies);
+    pthread_cond_destroy(&client->replyq->cond);
     pthread_mutex_unlock(&client->replyq->mutex);
+    pthread_mutex_destroy(&client->replyq->mutex);
     list_removedata(client->conf->clients, client);
     free(client);
 }
index 2ba6153..b306a39 100644 (file)
@@ -97,7 +97,6 @@ struct client {
     struct clsrvconf *conf;
     SSL *ssl;
     struct replyq *replyq;
-    struct client *next;
 };
 
 struct server {