diff options
-rw-r--r-- | src/locfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/locfile.c b/src/locfile.c index 90772a3f..7415ab76 100644 --- a/src/locfile.c +++ b/src/locfile.c @@ -72,6 +72,7 @@ void locfile_locate(struct locfile* l, location loc, const char* fmt, ...) { } jv m1 = jv_string_vfmt(fmt, fmtargs); + va_end(fmtargs); if (!jv_is_valid(m1)) { jq_report_error(l->jq, m1); return; |