moved more stuff from rqout to rq
[radsecproxy.git] / tls.c
diff --git a/tls.c b/tls.c
index 6836c28..a9f91b3 100644 (file)
--- 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 */