From 5266ba19a98f1f0ee67aba270fd6d104c8b14c81 Mon Sep 17 00:00:00 2001 From: venaas Date: Thu, 18 Dec 2008 09:06:12 +0000 Subject: now freeing buffer of outgoing request as soon as we give up sending request, rather than waiting until new request with same id git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.3@439 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radsecproxy.c b/radsecproxy.c index d11cc97..2cfc48d 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -942,6 +942,10 @@ void freerqoutdata(struct rqout *rqout) { if (!rqout) return; if (rqout->rq) { + if (rqout->rq->buf) { + free(rqout->rq->buf); + rqout->rq->buf = NULL; + } freerq(rqout->rq); rqout->rq = NULL; } -- cgit v1.1