git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1ae9f8
)
Free reply pair list before filling.
author
Maxim Mamontov
<faust.madf@gmail.com>
Sat, 5 Sep 2015 12:24:04 +0000
(15:24 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Sat, 5 Sep 2015 12:24:04 +0000
(15:24 +0300)
projects/rlm_stg/rlm_stg.c
patch
|
blob
|
history
diff --git
a/projects/rlm_stg/rlm_stg.c
b/projects/rlm_stg/rlm_stg.c
index 4030669533f3a9f784f5143edb109a031a7f33b6..1fd94f58a699fbf3b4d30acdb293e70786167b1b 100644
(file)
--- 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);