summaryrefslogtreecommitdiff
path: root/tcp.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-09-16 15:10:11 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-09-16 15:10:11 +0000
commit5b259b9efe0902fb95228cf76e7d49eb2fb3c601 (patch)
tree83cbdad79e1bdb79e37d7ffd323ea3393f070e8e /tcp.c
parent4c56742c9456d13d227a8a39a07dfabd6b77d3a7 (diff)
moved more stuff from rqout to rq
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@382 e88ac4ed-0b26-0410-9574-a7f39faa03bf
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 */