summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 6337e57..7edc949 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;
}