From a02618d27fc78002261080ab0c95cef53c39ac14 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sat, 5 Sep 2015 15:24:04 +0300 Subject: [PATCH] Free reply pair list before filling. --- projects/rlm_stg/rlm_stg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/rlm_stg/rlm_stg.c b/projects/rlm_stg/rlm_stg.c index 40306695..1fd94f58 100644 --- a/projects/rlm_stg/rlm_stg.c +++ b/projects/rlm_stg/rlm_stg.c @@ -70,6 +70,7 @@ static size_t toReply(STG_RESULT result, REQUEST* request) size_t count = 0; count += toVPS(result.modify, &request->config_items); + pairfree(&request->reply->vps); count += toVPS(result.reply, &request->reply->vps); deletePairs(result.modify); -- 2.44.2