From 3e2143717a98987f4b2e5f9609563452a0dff2eb Mon Sep 17 00:00:00 2001 From: venaas Date: Wed, 28 May 2008 08:40:39 +0000 Subject: minor fixes git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@260 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.c | 2 ++ radsecproxy.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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 { -- cgit v1.1