summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--radsecproxy.c2
-rw-r--r--radsecproxy.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 3725c90..da3e142 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -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);
}
diff --git a/radsecproxy.h b/radsecproxy.h
index 2ba6153..b306a39 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -97,7 +97,6 @@ struct client {
struct clsrvconf *conf;
SSL *ssl;
struct replyq *replyq;
- struct client *next;
};
struct server {