From: Wolfgang Bumiller Date: Tue, 16 Apr 2013 12:14:15 +0000 (+0200) Subject: lex_try_pragma: free the buffers X-Git-Tag: before-library~55 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=992c6fbfb8f752e6c44245d0dda911ccb6222ae4;p=xonotic%2Fgmqcc.git lex_try_pragma: free the buffers --- 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: