diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-28 17:27:01 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-28 17:27:01 +0200 |
commit | b3c06357a53ea35407abdf227f8fbeaaa72d7110 (patch) | |
tree | 16abfffa7e32ba5ad85c4a9f8fa411c67228795c /src | |
parent | e5821148c6b469a48f536b4cd18f06fd5be20e1f (diff) |
Add missing va_end
Diffstat (limited to 'src')
-rw-r--r-- | src/ast.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -457,6 +457,7 @@ static void compiler_print_error(amal_compiler *compiler, const char *ref, const amal_log_error("Failed to find tokenizer for code reference %p. Is it an invalid reference?", ref ? ref : "(null)"); vfprintf(stderr, fmt, args); fputc('\n', stderr); + va_end(args); return; } tokenizer_print_error_args(tokenizer, tokenizer_get_code_reference_index(tokenizer, ref), fmt, args); |