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