]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
free the _locals vector
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 25 Nov 2012 14:31:26 +0000 (15:31 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 25 Nov 2012 14:31:26 +0000 (15:31 +0100)
parser.c

index f0b724d57bd262629f2d1ca0cf13a44011ce1f3e..5e2b160b6b8c5de50267bb2ac53cc75de6458506 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -4105,6 +4105,7 @@ void parser_cleanup()
         util_htdel(parser->variables[i]);
     vec_free(parser->variables);
     vec_free(parser->_blocklocals);
+    vec_free(parser->_locals);
 
     for (i = 0; i < vec_size(parser->_typedefs); ++i)
         ast_delete(parser->_typedefs[i]);