diff --git a/lexer.c b/lexer.c index 6f9def8..7f5736d 100644 --- a/lexer.c +++ b/lexer.c @@ -483,6 +483,9 @@ static bool lex_try_pragma(lex_file *lex) lex->line = line; while (ch != '\n' && ch != EOF) ch = lex_getch(lex); + vec_free(command); + vec_free(param); + vec_free(pragma); return true; unroll: