From 844ec06079f5276e15271eb66bc89d6d5acf04e2 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Sun, 30 Jul 2017 21:07:06 +0200 Subject: Free 'in' in success case too. coverity: 1449514 --- radsecproxy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/radsecproxy.c b/radsecproxy.c index 9b3d5d2..5bd7642 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -990,6 +990,7 @@ int dorewritemodattr(struct tlv *attr, struct modattr *modattr) { i++; } } + free(in); memcpy(attr->v + reslen, out + start, i - start); return 1; -- cgit v1.1