summaryrefslogtreecommitdiff
path: root/dtls.c
diff options
context:
space:
mode:
Diffstat (limited to 'dtls.c')
-rw-r--r--dtls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dtls.c b/dtls.c
index f1a0e1e..01725e4 100644
--- a/dtls.c
+++ b/dtls.c
@@ -274,11 +274,9 @@ void dtlsserverrd(struct client *client) {
rq->buf = buf;
rq->from = client;
if (!radsrv(rq)) {
- freerq(rq);
debug(DBG_ERR, "dtlsserverrd: 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 */