diff options
author | Linus Nordberg <linus@nordu.net> | 2017-07-30 21:07:06 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2017-08-01 18:25:10 +0200 |
commit | 809c10eeac1df4719ab2a9a16105666da0b39f35 (patch) | |
tree | 6d2834262b0588b251cd78a6ebdfe763da6c9f2a | |
parent | cc8fe7ffb1433e1f3ccf7ac67eda091818e612b7 (diff) |
Free 'in' in success case too.
coverity: 1449514
-rw-r--r-- | radsecproxy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index 4abd8a7..a62d3e6 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -1063,6 +1063,7 @@ int dorewritemodattr(struct tlv *attr, struct modattr *modattr) { i++; } } + free(in); memcpy(attr->v + reslen, out + start, i - start); return 1; |