diff options
author | venaas <venaas> | 2008-05-28 08:40:39 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-05-28 08:40:39 +0000 |
commit | 3e2143717a98987f4b2e5f9609563452a0dff2eb (patch) | |
tree | 7267325cbe63ca2f5de3381369c2aab473c9e3bb | |
parent | 7fdae50bad689b0450307d79843c8771308494ca (diff) |
minor fixes
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@260 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r-- | radsecproxy.c | 2 | ||||
-rw-r--r-- | radsecproxy.h | 1 |
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 { |