summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c2
1 files changed, 2 insertions, 0 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);
}