commit 9f6576be0527ced42480532c4dc93c28e1c214bb parent ed81351f159d2f88f2283b33de99c3205fa551ca Author: James Prestwood <prestwoj@gmail.com> Date: Fri, 18 Mar 2022 09:44:17 -0700 json: call va_end in error case Caught by static analysis Diffstat:
| M | src/json.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/json.c b/src/json.c @@ -279,6 +279,8 @@ done: return true; error: + va_end(va); + l_queue_destroy(args, l_free); return false; }