mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
lex_try_pragma: free the buffers
This commit is contained in:
parent
1c51fb80eb
commit
992c6fbfb8
1 changed files with 3 additions and 0 deletions
3
lexer.c
3
lexer.c
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue