summaryrefslogtreecommitdiff
path: root/tls.c
diff options
context:
space:
mode:
Diffstat (limited to 'tls.c')
-rw-r--r--tls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tls.c b/tls.c
index 6836c28..a9f91b3 100644
--- a/tls.c
+++ b/tls.c
@@ -302,11 +302,9 @@ void tlsserverrd(struct client *client) {
rq->buf = buf;
rq->from = client;
if (!radsrv(rq)) {
- freerq(rq);
debug(DBG_ERR, "tlsserverrd: message authentication/validation failed, closing connection from %s", client->conf->host);
break;
}
- freerq(rq);
}
/* stop writer by setting ssl to NULL and give signal in case waiting for data */