]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.c
Remove trailing whitespace
[xonotic/gmqcc.git] / lexer.c
diff --git a/lexer.c b/lexer.c
index 6f9def80dbf103511051a1f46663360a0e3c3a21..db0a8f4d9bf541bdd25597c5047e040d7dc36fc5 100644 (file)
--- 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:
@@ -1232,7 +1235,7 @@ int lex_do(lex_file *lex)
             /*
             case '+':
             case '-':
-            */ 
+            */
             case '*':
             case '/':
             case '<':