lex_try_pragma: free the buffers

This commit is contained in:
Wolfgang Bumiller 2013-04-16 14:14:15 +02:00
parent 1c51fb80eb
commit 992c6fbfb8

View file

@ -483,6 +483,9 @@ static bool lex_try_pragma(lex_file *lex)
lex->line = line; lex->line = line;
while (ch != '\n' && ch != EOF) while (ch != '\n' && ch != EOF)
ch = lex_getch(lex); ch = lex_getch(lex);
vec_free(command);
vec_free(param);
vec_free(pragma);
return true; return true;
unroll: unroll: