From 992c6fbfb8f752e6c44245d0dda911ccb6222ae4 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 16 Apr 2013 14:14:15 +0200 Subject: [PATCH] lex_try_pragma: free the buffers --- lexer.c | 3 +++ 1 file changed, 3 insertions(+) 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: